Hey folks, for those of you using Google Tag Manager, I thought I’d share how I created triggers based on an Unbounce page variant. Very useful when A/B testing something outside of Unbounce that is delivered via script to your page!
(Kudos to Robert in support for providing some guidance on this!)
Click Here for the how-to
Go to Triggers section, create a new one with trigger type for Page View. Then add a condition for Page URL to match whatever page you’re trying to add your script to, and then add another condition with “Unbounce Variant” (if that’s what you called your variable) equaling whatever variable from your page in Unbounce that you want to use.
From Tags section, add your new trigger (from #2) to whatever script you’re trying to fire on only some variants!