- 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-03T07%3A06%3A39Z&se=2025-11-03T07%3A16%3A39Z&sr=c&sp=r&sig=JFg7bw7vJNc84oPRZ8s6v7%2Fs0SbMJ0vM23U0cCgJSQw%3D)
Click Pop-ups.
.png?sv=2022-11-02&spr=https&st=2025-11-03T07%3A06%3A39Z&se=2025-11-03T07%3A16%3A39Z&sr=c&sp=r&sig=JFg7bw7vJNc84oPRZ8s6v7%2Fs0SbMJ0vM23U0cCgJSQw%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-03T07%3A06%3A39Z&se=2025-11-03T07%3A16%3A39Z&sr=c&sp=r&sig=JFg7bw7vJNc84oPRZ8s6v7%2Fs0SbMJ0vM23U0cCgJSQw%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-03T07%3A06%3A39Z&se=2025-11-03T07%3A16%3A39Z&sr=c&sp=r&sig=JFg7bw7vJNc84oPRZ8s6v7%2Fs0SbMJ0vM23U0cCgJSQw%3D)
Next to Action, select the Attach URL option from the dropdown.
.png?sv=2022-11-02&spr=https&st=2025-11-03T07%3A06%3A39Z&se=2025-11-03T07%3A16%3A39Z&sr=c&sp=r&sig=JFg7bw7vJNc84oPRZ8s6v7%2Fs0SbMJ0vM23U0cCgJSQw%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-03T07%3A06%3A39Z&se=2025-11-03T07%3A16%3A39Z&sr=c&sp=r&sig=JFg7bw7vJNc84oPRZ8s6v7%2Fs0SbMJ0vM23U0cCgJSQw%3D)