Solved

Wrong Variantid in confirmation page

  • 6 January 2020
  • 3 replies
  • 15 views

Unbounce sends the wrong VariantID in the form’s confirmation pages.

As you can see in the following image, the confirmation page URL is: *****/e-form_confirmation.html, while the Unbounce VariantID of the page is ‘a’.

.

In this case, you would have expected to see an exact match of the variant in the URL and the un.page.variantid value. And this doesn’t happen.

And passing this variable (as custom dimension) to Google Analytics shows this clearly:
image
So, I would expect to see that each URL would get’s it’s own unbouncevariandid, e and h, accordingly.

Note:
The UB variant is extracted via the script manager and sent to Google Tag Manager as data layer:
image

Is there a bug in Unbounce that sends the wrong VariantID of the confirmation pages?

icon

Best answer by Vicky_W 10 January 2020, 21:04

View original

3 replies

Userlevel 7
Badge +1

Hi there @Saady_Abu_Hatoum!

Just wanted to let you know that I’ve forwarded this to our technical team to see whether or not this is a bug. I’ll report back here with what I hear back.

Thanks for passing this along 🙂

-Jess

Userlevel 7
Badge +1

Hi again! Just closing the loop here.

@Vicky_W on our technical support team let me know that she has an open ticket with you, and she’s looking into this. You should be hearing back from her shortly.

All the best!

-Jess

To customers who might be wondering about the answer to this question (tracking form confirmation dialog variant with custom dimension setup in GTM):

Changing the variable in dataLayer from window.ub.page.variantId to window.parent.ub.page.variantId will do the trick 😉

Reply