Navigation

Setting Up the Google Analytics Integration

The Google Analytics integration allows you to collect some transactional data on the visits from your contacts on your website. You send an email containing a link to your website to your contacts. When your contacts click the link, you start to collect data on the transactions. This data on the purchases is sent to the ECommerce_transaction and ECommerce_Item tables. If an anonymous visitor has not used the link in your email, the data from this visitor won't be sent to the ecommerce tables.

Data is compiled 24 to 48 hours after the visit.

Access path: Project → Data Management → Integrations 

Requirements

Using the Journey module and the Google Analytics integration in the same project can cause conflicts. If you want to use both, it is recommended to use a CDP structure and separate the 2 features in the different source projects.

Step 1: Add the Property

1.1 Follow the access path to go to the integration list. 

1.2 Double-click the Google Analytics integration. 

1.3 Click Create a connection:

1.4 Click Add a GA property

1.5 Click Create an authorization

1.6 Click Authorize access. Select your GA account and follow the instructions. When it says "Authorization granted", click Continue.*Only one authorization can be activated at a time. If you have several, you must deactivate/activate your authorizations depending on the case.

  • Account: This is your access point in Google Analytics.
  • Property: This can be a website, a mobile application or a blog. An account can have multiple properties.
  • View (Universal Analytics only): This is your access point to reports or a view mode to display a property's data. A property can contain one or multiple views.

Step 2: Add the UTM Variable

To link the transactions to the message sent, you must specify the UTM variable which will be used as the identifier and will be inserted in the message. 

It is strongly recommended to use the Term variable. The other UTM variables already exist as default in all projects. There could be a conflict if you use Campaign, Medium or Source.


Step 3: Add the Domain

Add the domain(s) for the transactional site. If you have several, you must add one per line. 

You could include declinations by adding an * at the beginning or the end.


Step 4: Generate Visits

To generate data on known visitors in your project, you must share the link from your website by sending an email to your contacts. Thus, contacts who visit your website by clicking this link in your email will become known visitors. When a contact clicks the link, parameters are injected in the URL using the Dialog Insight Tracking injection rule (→ Learn more on injection rules).

Verify if the Google Analytics E-Commerce rule is applied by going to the Additional options:

In Link tracking, make sure the "Google Analytics E-Commerce" rule is checked:

Then, add the link to your website in an element from your email (e.g., a link in a button):

You could test the email by sending it to yourself (this test will count in your stats, including your visits).

→ See the Guide on Email Validation and Tests


Results

When contacts click the link in your email and complete a transaction, the data related to this transaction will be adde to the ecommerce tables in your project.Lorsque des contacts cliquent sur le lien dans votre courriel et qu'ils complètent une transaction, les données liées à cette transaction seront ajoutées aux tables e-commerce de votre projet. 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.