Implementing Quantcast Easy Tag for Advertise in Google Tag Manager (GTM)

Quantcast Advertise

Follow the process below to ensure strong campaign performance and robust insights.

Reminders:

  • Do not alter the code. Any edits to the code may result in the tag not collecting data.
  • The tag does not interfere with your page load. Quantcast tag is asynchronous, meaning, it loads in the background. See here for more technical details.

What you need to continue:

  • Quantcast Easy Tag

Add the Quantcast Tag

1.  Log into GTM, click Add A New Tag

1

2.  Select Tag Configuration to open the GTM Tag Library

2

3. Find Custom HTML in the Library

3

4. Place the Quantcast Easy Tag Tag into the HTML section

5. Save

4 and 5

6.  Click Triggering

6

7. Select your All Pages Trigger

7

8. Your tag should look like the below. Click Save.

8

9. Name the tag you have created. We recommend using “Quantcast All Pages Tag”.

10.  Click Save.

9 and 10

11. Publish your changes

You are done!  Please notify your Quantcast rep so that they can confirm your tags are collecting data.  

Additional Instructions

Creating a Trigger: Triggers govern when a tag is fired or not fired.

1. Select Triggering and click the + in the upper right to create a new trigger.

17

2. Click on Trigger Configuration

18

3. Select Page View from the Trigger Type

19

4. Enter the criteria to identify the page for which you want to create a trigger. Select Some Page Views.

  • In this example, we are using “Page URL contains www.quantcast.com/thankyou”.

20

5. Click Save in the upper right. A window will prompt you to name your Trigger.

6. Enter a name that reflects the function of the Trigger. E.g. Conversion Page

7. Click Save

21

8. You Trigger is now ready to use

Adding Variables for Data Passback

Creating a Trigger: Triggers govern when a tag is fired or not fired.

1. Select Triggering and click the + in the upper right to create a new trigger.

17

2. Click on Trigger Configuration

18

3. Select Page View from the Trigger Type

19

4. Enter the criteria to identify the page for which you want to create a trigger. Select Some Page Views.

  • In this example, we are using “Page URL contains www.quantcast.com/thankyou”.

20

5. Click Save in the upper right. A window will prompt you to name your Trigger.

6. Enter a name that reflects the function of the Trigger. E.g. Conversion Page

7. Click Save

21

8. You Trigger is now ready to use

Adding Variables for Data Passback

1. Generate data on the page: There are various ways to complete this step.  Below is the most common via a data layer.

  • Update your page code to capture the data you want to collect in the data layer (e.g., order ID, revenue, customer type, etc). This code must be added before the Google Tag Manager Container tag to ensure the data will be available. If the data layer is added after Google Tag Manager, your values will pass back as “undefined”.

22

2. Indicate to GTM the location of the data: In this example, we will set up OrderID.

  • Click Variables from the GTM Menu.

23

  • Click New under User-Defined Variables to open the setup menu.

24

  • Click Untitled Variable and name your variable.
  • Click the Variable Configuration area.

25

  • Select the method which GTM will look for data pass back. We will select Data Layer Variable from this menu.

26

  • Add the Data Layer Variable Name in the field.
    • We are using orderid as this is the name of the variable in the data layer. Your Data Layer Variable Name may be different. Leave all other settings as-is.

27

  • Click Save on the upper right corner once this is complete.
  • Repeat the steps above to add additional variables.
  • Once your User Defined Variables are setup, they will be visible on the menu.
  • Once you created the variables, return to the Conversion Tag setup to complete the implementation.

Helpful resources:

Getting started Guide

Learn more about our advertising solutions.