Overview
The home URL of your app can be used for various purposes, such as identifying the environment (e.g., development, production) or for sending emails with full links to resources. By using the home URL, you can ensure that links and references are accurate and environment-specific.
The home URL is configured in the app under Settings -> General -> Home URL, where you can specify the base URL for the application.
Retrieve the home URL
To retrieve the home URL in your application, you can use the following JavaScript code:
var homeUrl = etlConfig.getHomeUrl();
This function returns the base URL of the app, which can be included in emails or used to identify the current environment by the URL structure.
Comments
0 comments
Please sign in to leave a comment.