Troubleshooting Your Unbounce Scripts

Share This Post

If you’re using Unbounce scripts to manage your tracking pixels and Google Analytics installation, you might be having some trouble with them. I want to save you some time and share a couple of things I have learned the hard (and time-consuming) way!

If you’re installing Google Analytics, DEFINITELY use the included Unbounce script installer, rather than installing the code directly as a custom script.

If you do this, you’ll automatically get event tracking for button clicks, text link clicks, form submissions, and variant tracking. This will save you some time in setting up tracking, because the events will automatically be sent to Google Analytics, and you can analyze the events or set them up as goals.

If you’re using Unbounce scripts to manage your tracking pixels for various ad platforms (Bing, Facebook, LinkedIn, etc), it won’t be so easy. For tracking pixels that include a main pixel to be included on every page and an event portion to be fired upon conversion, be aware that:

“Global scripts added into the script manager will load after scripts added in your landing page variants.”

In plain English? If you enter the main pixel as a global script, because you want it included on every page, then put the conversion portion of the tracking code on your thank you pages, the conversion portion will fire BEFORE the main pixel, because Global scripts fire after those on the individual pages. Your conversions will not be tracked.

You’d be better off installing these pixels in Google Tag Manager where you can select which pages have which codes. You can even specify a firing sequence there. In Unbounce, you can only apply scripts to individual pages OR across all pages in the domain – there’s no option to apply a script to a subset. It’s all pages or one page only; nothing in between.

Read more:

Scroll Depth and Element Visibility Tracking with Google Tag Manager

Learn Digital Marketing in 9 Days

Sign up to learn everything you need to know to build your own digital strategy.

More To Explore

Screenshot 2016 08 03 10.45.27
Social Media Marketing

A Complete Guide to Effective Meta Advertising

Are Meta Ads worth the money? Are they going to help your business grow? It depends on your goals. Learn how to create the right ads based on your goals, and stop wasting your money!

5 Reasons We Love Looker Studio

You’ve probably noticed how much we LOVE producing visuals and reporting digital marketing data for our clients. It’s so important for our clients to know

Do You Want To Boost Your Business?

reach out to set up a free consultation

Got any questions?

Text us to set up your free consultation. You can also fill out our contact form.