I’m using a lightbox on my landing pages to show a second page, which just contains my form. There’s only one variant of the form; there are currently two variants of my landing page. I want to get the landing page variant (A or to show up in the lead data I collect in the form on the second page. Right now the lead data just shows the variant of the second page, which isn’t useful because I only have one form, and all the values are the same.
Hey Kenji,
It looks like we’re currently diving into your issue with a support ticket, but in case anyone else is wondering, what we’re suggesting is to add lightbox forms to each of your variants using the following custom script: https://gist.github.com/jmso01/ee58344410873e6c7406. Once implemented, you will be able to track the variant ID when lead data is submitted from your lightbox forms.
Alternatively, we suggested that you can track your variants using Google Analytics. But if you’re looking for something in-app, the option above would be the best bet.
It looks like we’re currently diving into your issue with a support ticket, but in case anyone else is wondering, what we’re suggesting is to add lightbox forms to each of your variants using the following custom script: https://gist.github.com/ johnnyopao /ee58344410873e6c7406. Once implemented, you will be able to track the variant ID when lead data is submitted from your lightbox forms.
Alternatively, we suggested that you can track your variants using Google Analytics. But if you’re looking for something in-app, the option above would be the best bet.
Resurfacing an old question here, but I have a similar question, but the solution offered here won’t help me.
Instead of sending a click to a lightbox, I’m sending it to a completely different page. In a case like this, how can I collect the variant ID of the initial landing page visited?
Reply
Log in to the Unbounce Community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.