Top
Use dynamic URL for a Pop-up
  • 24 Feb 2025
  • 1 Minute To Read
  • Dark
    Light
  • PDF

Use dynamic URL for a Pop-up

  • Dark
    Light
  • PDF

Article summary

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:

  1. On the Whatfix Guidance dashboard, click Widgets.

  2. Click Pop-ups.

  3. Hover your cursor over the Pop-up segment you want to configure, and then click the Edit icon.

  4. Hover your cursor over the button and then click to open the Button Configuration Menu.

  5. Next to Action, select the Attach URL option from the dropdown.

  6. 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:

  7. Once you are done creating the Pop-up, click Save.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.