Google Analytics is a web analytics tool that helps you measure, monitor, and track the performance of your landing page(s).
Quickly embed Google Analytics tracking to your landing page seamlessly with this Unbounce app.
Note:
Our current Google App will only work with a UA property, in other words, a UA tracking ID, and not the new G4 property. To locate your custom UA code, see Google's instructions: Setting up a UA Property.
Adding the Google Analytics App to Smart Builder
At this time, the Google Analytics App in Smart Builder only tracks page views and form submission events.
- Navigate to the Apps
tab on the left-hand side of Smart Builder.
- Search and locate the Google Analytics App.
- Click the plus
button next to Google Analytics to install the app.
- In the blank field that appears, input your unique Google Analytics UA-tracking ID:
See Google's documentation on how to retrieve your UA Tracking ID.
And that's it! Be sure to Save and Publish your landing page to finalize these changes.
Form Submission Events in Google Analytics
The Google Analytics App will fire custom events to Google Analytics whenever a user completes a form on your landing page.
The event contains the following properties:
category: Unbounce LP
action: form submission
label: <page-uuid> and/or <variant id>
Follow these steps to create a custom Google Analytics Goal for the form submission event.
- Add a form to your landing page.
- For steps on adding a form in Smart Builder, see Working with Forms in Smart Builder.
-
Add and configure the Google Analytics App to your Smart Builder page.
-
Sign in to your Google Analytics dashboard.
-
At the bottom left-hand corner of the dashboard, click the Admin tab.
-
In the View column, click Goals.
- Click the +NEW GOAL button.
- Depending on your Google Analytics role permissions, this section may be greyed out (in other words, your permission levels do not allow you to create goals in this View).
You will need to ask the Google Analytics account holder to create this goal on your behalf.
- Depending on your Google Analytics role permissions, this section may be greyed out (in other words, your permission levels do not allow you to create goals in this View).
- In the Goal Setup step section, select Custom. Click Continue.
- In the Goal description step, give your goal a name, and from the Goal Type, select Event. Click Continue.
- Within the Goal details section, set the Event conditions as follows
- Category [Equals to] Unbounce LP
- Action [Equals to] form submission
- For creating an Event Label, see the steps below.
- For creating an Event Label, see the steps below.
- Click Save, and you're all set!
Setting an Event Label (optional)
Event Labels in Google Analytics help provide additional information or context to the goal; this can help you hone on which variant or page URL the unique form submission occurred on.
To set up these labels, you'll need to note your page ID and page variant letter. You can locate this info the URL while editing your page in Smart Builder:
Option 1: Match the form submission event on all variants.
Set the Label as the page ID.
For example:
- Label [Equals to] 2ddccea9-4bcc-43af-90a1-4f959804c1b6
Option 2: To match the form submission event on a specific variant.
Set the Label as the page ID with the variant letter appended to the end. For example:
- Label [Equals to] 2ddccea9-4bcc-43af-90a1-4f959804c1b6-a
That's it! Be sure to save the goal in Google Analytics after updating it.
Note:
Please allow up to 24 hours for data relating to your landing page to appear in your Google Analytics dashboard.