Set Unique URL's per Variant

  • 12 August 2019
  • 2 replies
  • 91 views

Hello.

Can we set unique URL’s per variant? I’m not interested in linking directly to the variant from somewhere else. I need to the variant to load up a specific URL so we can track conversions properly in another platform - we need to know which variant a person viewed and this seems like it would be the fastest track to a solution. Thank you.


2 replies

Userlevel 7
Badge +3

Hi @jeffinamazing,

Each variant already has a unique identifier. You can load up a specific variant by adding the variant letter (a, b, c, etc.) to the end of the url followed by .html

Example: https://www.example.com/landing-page/a.html

This information is also available on the page so you can grab it with a bit of JS and push it to wherever you need to use it.

If you are using a native Unbounce webhook, the variant information is sent along with the other data.

Best,
Hristian

Perfect thank you, we were able to extract with JS via GTM.

Reply