Integrating with Google Analytics

Integrating Landing Pages with Google Analytics Across a Subdomain

You can easily integrate your Unbounce pages with Google Analytics across a subdomain using a simple dropdown list in Script Manager.

In order to take advantage of this integration, you'll need a working domain or subdomain.

To create the integration across all the pages in a particular Client Account, simply follow the steps below:

What you will need

  • A Google Analytics Account
  • An Unbounce Account

Getting your Website Tracking ID in Google Analytics

Getting Your Website Tracking ID

Entering your Website Tracking ID in Unbounce

  1. Under Settings, click “Script Manager”. A dialog box will open, allowing you to select “Google Analytics” from a dropdown menu.
  2. Enter your Website Tracking ID (found in Google Analytics)
  3. Click "Add Script Details"
  4. Two boxes will open, showing "Script Details" and "Script Usage". From the "Script Usage" box, select which subdomains you'd like to apply the Google Tracking Script to.
  5. Click "Save and Publish Script"

That's it! You've now integrated Google Analytics with the selected subdomain and its pages.

Event Tracking in Google Analytics

Integrating your pages with Google Analytics using Script Manager automatically creates event tracking in Google Analytics for action items on your page.

Below is an example of the results that you would yield from this example landing page:


For more information on Script Manager in Unbounce, check out the article below:

Script Manager

Integrating Individual Landing Pages with Google Analytics by Using JavaScript

Separate from our Script Manager option, it's possible to follow a manual method of integrating with Google Analytics on your landing pages. You'll need to follow this method for the following use cases:

  • Display feature tracking
  • Tracking of events outside of Unbounce
  • Custom dimensions
  • Opting out of automated tracking
  • Anonymize specific IP addresses in Google Analytics

The following video and article will teach you everything you need to know to embed Google Analytics tracking into your Unbounce landing pages.

What you will need

  • A Google Analytics Account
  • An Unbounce Account


  1. Log in to your Google Analytics account
  2. Click the Admin button in the Google Analytics toolbar
  3. Select the Account you're working with
  4. Select the Property (site) you're working with
  5. Click  Tracking Info
  6. Select and copy the tracking code then return to Unbounce
  7. Paste the tracking code into your landing page's Javascript library (Select 'Head' for placement)
  8. If using a Form Confirmation Dialog, paste the tracking code into your confirmation dialog as well (Select 'Head' for placement)
  9. Save and republish your page

That's it! Google Analytics will then begin tracking metrics for your landing pages.

Note: Active visitors on your page will be immediately visible in your 'Real-Time' reports. The full visitor data will eventually populate to the rest of the reports about 24 hours later.

Next Steps

Tracking Variants

Page variants are tracked automatically using our Google Analytics Script Manager template.

With our integration the Variant letter is appended to the end of the path URL in your Google Analytics reports.

If your landing page URL is and your visitor landed on Variant 'C', the variant will show up in your reports as



Referral Exclusion list

If you are tracking across subdomains (visitors on crossing over to your traffics sources to '' will show as being referred from ''. 

By default Google Analytics sees landing on a different subdomain as the start of a new session. To prevent this you'll need to add your Unbounce domain to your Google Analytics properties "Referral Exclusion List". This will track the visitor between these domains to the original source. 


Customizing Your Reports

Since the data collected from this integration is handled within your Google Analytics account, check Google's site for information on building customized reports.


Property: site that you're working with.

Google Analytics placement: head.


Powered by Zendesk