Help Center

Explore our knowledge base
article

Configure Google Tag Manager for the Google Analytics connector

If you are using Google Tag Manager to integrate our tag and the one of Google Analytics then you will have to configure it so that Google Analytics takes the events triggered by iAdvize into account. 

1/Configure the application from the iAdvize administration

You first have to configure the Google Analytics application to make it compatible with Google Tag Manager.
Please go to "Settings" -> "Applications" and select "Google Analytics". 

Select "Google Tag Manager" in the drop down menu (1) and precise the name of the Google Tag Manager container used on your website (2)
The value "dataLayer" will be used by default, except if you changed it during the integration of Google Tag Manager.



 

You'll then have to configure Google Tag Manager so that all the iAdvize events can be taken into account by Google Analytics.

Please find below the typical configuration of Google Tag Manager knowing that it can be done differently, according to your needs.

2/ Create a trigger



  • (1) Go to the submenu named "Triggers" 
  • Click on "New"
  • (2) Select "Custom event"
  • (3) Enter "iAdvize" as the event name
  • (4) Click on the checkbox "Use regex matching"
  • (5) Save the trigger
  • Name this trigger "iAdvize"

3/ Create variables

  • (1) Go to the submenu named "Variables"
  • Click on "New"
  • (2) Select "Data Layer Variable"
  • (3) Enter "action" as the name of the "Data Layer Variable"
  • (4) Click on "Save Variable"
  • Name it "iAdvize Action"
  • Repeat the process for the "Category" Data Layer Variable and name it "iAdvize Action"
  • Repeat the process for the "Label" Data Layer Variable and name it "iAdvize Label"

Here is what you should get at the end of step 2: 

4/ Create a tag

  • (1) Go to the submenu "Tags"
  • Click on "New"
  • (2) Select "Google Analytics"
  • (3) The tag type depends on the version used by the client (cf. Google Documents)
  • (4) Enter the Analytics tag's ID under "Tracking ID"
  • (5) Under Track type, select "Event"
  • (6) Under "Category" click on the button on the right and select "iAdvize Category" in the picking list
  • (7) Under "Action" click on the button on the right and select "iAdvize Action" in the picking list
  • (8) Under "Label" click on the button on the right and select "iAdvize label" in the picking list
  • Click on "Continue" 
  • Click on "Plus" under "Trigger"
  • (9) Select "iAdvize" and the type "Customized event"
  • (10) Save the Tag

  • (1) Click on "Create a tag"
  • Name it "iAdvize"
  • (2) Publish the tag as well as all the changes made


 

Comments