include_url_env
No overview available.
def include_url_env(
url: string,
env_name: string
) - > string
Appends environment-specific query parameters to a given URL to ensure consistent tracking across different deployment stages.
Parameters
| Name | Type | Description |
|---|---|---|
| url | string | The base URL string that will be modified. |
| env_name | string | The name of the target environment (e.g., 'production', 'staging') to be added as a query parameter. |
Returns
| Type | Description |
|---|---|
string | The modified URL containing the original path and the newly appended environment parameters. |