Creating a customized landing page is an excellent way to communicate your message effectively. However, without metrics to measure what works and what does not, you’re managing your campaign in the dark. Thankfully, Unbounce provides the ability to insert Google Tags so you can track your campaign's performance.
If you’re one of the people managing your campaign in the dark, never fear, we will shed some light on how to add javascript to your Unbounce landing page.
Google Analytics is the most important tag you add to your landing page. Unbounce has two options to connect your landing page to analytics.
The first (and easiest) method is using script manager.
Once this is completed, you will have successfully linked your Google Analytics account.
The second method is manually adding your Google Analytics code to the landing page javascript.
To verify that analytics is properly set up using either method, open two new tabs in your browser. In the first tab, navigate to the landing page. In the second tab, log in to Google Analytics. In analytics under real-time reports, you should see at least one visitor on the page if analytics is tracking properly. You can also open Google Tag Assistant on your homepage to see if the analytics tag is firing properly.
To properly track conversions that occur on your landing page you will need to install Google conversion tracking to your Unbounce page. To do this, you will first need to create a conversion action within Google Ads.
After you’ve created your conversion action you will need to add the Global Site Tag and Event Snippet to the landing page.
To verify that conversions are tracking, you will need to test your conversion action on the landing page. If you have a form confirmation dialog you can use Google Tag Assistant to verify that your conversion tag is firing correctly. You will also want to check Google Ads to confirm conversions are recording properly.