Google Analytics 4 is the next-generation measurement solution, and it will replace Universal Analytics. On July 1, 2023, standard Universal Analytics properties will stop processing new hits, as per Google's official communicatiton. We recommend that you prepare to use Google Analytics 4 going forward.
To connect your Google Analytics ID to your page, make sure that you already have a Google Analytics account. If you don't you can sign up for one here.
By connecting your Google Analytics account, you will be able to see the views that your landing page received inside Google Analytics, including a comparison between variations if you are running A/B tests.
In case you want to track specific actions on your pages as conversions, you can refer to our Google Analytics Event tracking guide as the base integration only tracks page views by default, but it does not track conversions by default.
Or, if you have already migrated to Google Analytics 4, please refer to this guide for event tracking with GA4.
NOTE: Our integration works only with Google Analytics accounts that have properties set to “Web” type. It does not work with “Apps” or “Web & Apps” property types. For more information about setting up a property, please refer to this article: https://support.google.com/analytics/answer/1042508?hl=en
Also note that the native Universal Google Analytics integration does not work with the new GA4 (Google Analytics 4) property type. If you want to use GA4, you can do it by adding the GA4 tracking script to your page.
Connecting your Google Analytics account
In order to connect your Google Analytics account to your Instapage landing page you will need to:
1. Click on the name of the landing page to open the slideout
2. Go to the Integrations section of the slideout menu and select Marketing Tags & Pixels:
3. If you already have your GA property connected to the workspace, you will see Google Analytics in the list. If you do not see it, click on the link highlighted below. It will take you to the main integrations list of your workspace, where you can look for the Google Analytics integration and connect your property from there.
4. After you connect the property, or if you already have it connected, click on Google Analytics under Marketing Tags & Pixels in the slideout menu, then click Continue.
5. Don't forget to Update the page after connecting.
The native integration with Google Analytics will track page views. The data that you should look at in Google Analytics is unique pageview hits.
All the reports in GA will display data regarding all the pages that include the respective Tracking ID. To view specific landing page traffic, you can check the Behavior panel - Landing Pages report and filter the view for a particular page.
Make sure to select the correct GA property and view. Each view can be selected from here:
In order to see specific traffic such as variations coming from the landing pages, you can refer to the steps below. Note that only our native integration will facilitate this. Adding GA through code or through Google Tag Manager will not show variation data.
1. Go to Behavior - Site Content - Landing Pages:
2. After that, click on the Secondary Dimension button:
3. Select Custom Dimensions and Page Variation Name:
A column with Page Variation Name will appear and you can see the analytics data by variation.
Note: This only tracks variation views. If you would like to track more advanced metrics such as custom events with Google Analytics, please see this article: Universal Google Analytics Event Tracking
Disconnecting your Google Analytics property
If you would like to disconnect a GA property ID, you can do so from the Integrations dashboard, as shown below:
When connecting the Google Analytics account, in case you encountered this error message: “We are sorry but custom dimensions limit for this web property has been reached”. it comes from a limitation of the Google Analytics account. It refers to the fact that the client has reached a limit in his Google Analytics account. You will need to double check in the Google Analytics account how many dimensions you have. Google’s documentation has more details on this: https://support.google.com/analytics/answer/2709829?hl=en
On our end, the message will look like this:
In Google Analytics, here is where you can find the respective index numbers for your dimensions:
You just need to type in the number in Instapage in the modal pictured above. If you type anything else besides the plain number or if the number you type is not found to be corresponding to a dimension in your account, you will encounter an error.
Adding the integration to all pages in the Workspace at once
Our native integration must be added to each page individually, but if your account is on the Convert plan, then you can use the Workspace Scripts feature to add any tracking scripts to all the pages in the workspace at once.
You will need to add the global site tag as code instead of using our direct integration.
To learn more about the way our Workspace Scripts feature works, click here.
Important note: If you add the tracking code using Workspace Scripts, then you must not use our native integration at the same time to prevent a double implementation of the same script on your pages. This will cause incorrect data in your Google Analytics account.