- 22 Jul 2025
- 1 Minute zum Lesen
- Drucken
- DunkelLicht
- pdf
Use a Dynamic URL for a Pop-up
- Aktualisiert am 22 Jul 2025
- 1 Minute zum Lesen
- Drucken
- DunkelLicht
- pdf
Whatfix enables you to use dynamic URLs in Pop-ups. A dynamic URL automatically adjusts based on specific variables, such as the website domain or environment. This ensures that the URL in your Pop-up remains valid, even if part of the domain changes. For instance, set a dynamic URL that automatically adapts when the subdomain switches from https://dev.example.com to https://example.com, without needing to manually update the URL.
Use the following steps to add dynamic URLs for Whatfix Pop-ups:
On the Whatfix Guidance dashboard, click Widgets.
.png?sv=2022-11-02&spr=https&st=2025-11-25T13%3A01%3A09Z&se=2025-11-25T13%3A11%3A09Z&sr=c&sp=r&sig=BBt6ZkI1Z9L%2Bv7YeG8Eh5LT2hkgIOkix7wY2f%2F7wt%2B4%3D)
Click Pop-ups.
.png?sv=2022-11-02&spr=https&st=2025-11-25T13%3A01%3A09Z&se=2025-11-25T13%3A11%3A09Z&sr=c&sp=r&sig=BBt6ZkI1Z9L%2Bv7YeG8Eh5LT2hkgIOkix7wY2f%2F7wt%2B4%3D)
Hover your cursor over the Pop-up segment you want to configure, and then click the Edit icon.
.png?sv=2022-11-02&spr=https&st=2025-11-25T13%3A01%3A09Z&se=2025-11-25T13%3A11%3A09Z&sr=c&sp=r&sig=BBt6ZkI1Z9L%2Bv7YeG8Eh5LT2hkgIOkix7wY2f%2F7wt%2B4%3D)
Hover your cursor over the button and then click to open the Button Configuration Menu.
.png?sv=2022-11-02&spr=https&st=2025-11-25T13%3A01%3A09Z&se=2025-11-25T13%3A11%3A09Z&sr=c&sp=r&sig=BBt6ZkI1Z9L%2Bv7YeG8Eh5LT2hkgIOkix7wY2f%2F7wt%2B4%3D)
Next to Action, select the Attach URL option from the dropdown.
.png?sv=2022-11-02&spr=https&st=2025-11-25T13%3A01%3A09Z&se=2025-11-25T13%3A11%3A09Z&sr=c&sp=r&sig=BBt6ZkI1Z9L%2Bv7YeG8Eh5LT2hkgIOkix7wY2f%2F7wt%2B4%3D)
Paste the copied URL in the Enter URL field and wrap the dynamic portion of your URL with curly braces, as shown in the following image:

Once you are done creating the Pop-up, click Save.
.png?sv=2022-11-02&spr=https&st=2025-11-25T13%3A01%3A09Z&se=2025-11-25T13%3A11%3A09Z&sr=c&sp=r&sig=BBt6ZkI1Z9L%2Bv7YeG8Eh5LT2hkgIOkix7wY2f%2F7wt%2B4%3D)