Connecting Google Analytics in Smart Builder


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.


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. 

  1. Navigate to the Apps tab on the left-hand side of Smart Builder.
  2. Search and locate the Google Analytics App.
  3. Click the plus button next to Google Analytics to install the app.
  4. In the blank field that appears, input your unique Google Analytics UA-tracking ID:
    Field to input Google Analytics 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.

  1. Add a form to your landing page. 
  2. Add and configure the Google Analytics App to your Smart Builder page.

  3. Sign in to your Google Analytics dashboard. 

  4. At the bottom left-hand corner of the dashboard, click the Admin tab.

  5. In the View column, click Goals.

  6. 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. 
  7. In the Goal Setup step section, select Custom. Click Continue.
  8. In the Goal description step, give your goal a name, and from the Goal Type, select Event. Click Continue.
  9. Within the Goal details section, set the Event conditions as follows
    • Category [Equals to] Unbounce LP
    • Action [Equals to] form submission
      Google Analytics goal interface with Category and Action values filled in.
      • For creating an Event Label, see the steps below.


  10. 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:

Annotated image of URL highlighted with string of letters and numbers at the end.

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. 


Please allow up to 24 hours for data relating to your landing page to appear in your Google Analytics dashboard.

Do you agree or disagree with this statement: This article helped me find the information I needed quickly and easily.

Select an option and leave us some feedback in the comments:

Strongly DisagreeDisagreeSomewhat DisagreeUndecidedSomewhat AgreeAgreeStrongly Agree

Measuring Customer Effort Score with Nicereply