--- title: "Implement Live Tag with Google Tag Manager Manually" slug: "implement-live-tag-with-google-tag-manager-manually" description: "Integrate Quantcast with Google Tag Manager effortlessly. Set up Live Tags, Event Tags, and Data Passback for effective tracking and analytics." tags: ["Google Tag Manager", "Tagging", "Data Pass Back", "GTM", "Implementation"] updated: 2026-05-08T22:00:47Z published: 2026-05-08T22:00:47Z canonical: "help.quantcast.com/implement-live-tag-with-google-tag-manager-manually" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.quantcast.com/llms.txt > Use this file to discover all available pages before exploring further. # Implement Live Tag with Google Tag Manager Manually Quantcast is fully integrated with Google Tag Manager. Installing your tag is now easier than ever. > [!NOTE] > 💡Reminder: > > - Do not alter the code. Any code edits may cause the tag to stop functioning. > - The tag does not affect your page load because it loads asynchronously (in the background). For more technical details, see [Get Started with Quantcast Tagging](/v1/docs/q-pixel-tagging). > [!WARNING] > ⚠️What you need to continue: > > You will need your Quantcast Live Tag, which is found on the Event Manager page. ## **Set up the Quantcast Live Tag Base Tag** 1. Create a new tag using the **Custom HTML** tag type. 2. Paste your base tag into the HTML input box. 3. Add a Page View trigger for All Pages. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/Page View Trigger.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) ## **Set up Live Tag Event Tags** This example sets up tracking for the Purchase Completed page, located at /purchase-completed. ### **Create a new tag** 1. Paste the event tag in the HTML input box 2. Add a Page View trigger for the path of the page you want to track with this event This should be your result: ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/result.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 3. Publish your workspace changes. ## **Quantcast Tag Integration** You may notice that Google Tag Manager offers a built-in integration for the “Quantcast Advertise” tag type. You may use this integration and input your p-code to enable the tag, but please be aware that this is a legacy tag and integration that will be replaced in the future. ## **Setting up an Event Tag with Data Passback** Data Passback can be used to populate dynamic values within a tag. For example, the revenue amount or order ID of a particular purchase can be included as a value in the tag. For data passback to function, changes may be needed on the website by a developer both outside of and within Google Tag Manager. This process uses Google’s data layer. Please refer to the [Adding Variables for Data Passback](/v1/docs/implement-q-pixel-with-google-tag-manager#adding-variables-for-data-passback) section in this guide for instructions on setting up variables. ### **Implementing Data Passback to a Live Tag Event (Full Tag)** Using the Full Tag is preferred unless the Live Tag is already firing on the event page. If so, please skip to the Partial Tag instructions below. 1. Replace the placeholders in the Full Tag with their respective GTM variables. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/Full tag.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 1. Add a new “Custom HTML” tag and paste the Full Tag into the HTML field. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/custome html.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) > **Note:** Variables will vary from one account to another. Please check with your Web Dev team to select the correct variables. 1. Select the corresponding trigger. In this example, the tag should fire on the Purchase Confirmation page. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/trigger.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 4. Save the tag and navigate back to the **Tags** tab. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/tags tab.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 1. Select the Live Tag implemented across all pages. 2. Add an exception to the current trigger for the page on which the new tag was implemented. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/exception.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) - In this example, we're adding Purchase Confirmation: ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/trigger(1).png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 7. Publish all changes Once implemented, please contact your Quantcast team to confirm the tag is working properly. ## **Implementing Data Passback to a Live Tag Event (Partial Tag)** A Partial Tag is used when the Live Tag has already been installed on the event page. 1. Replace the placeholders in the Partial Tag with their respective GTM variables. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/mceclip6.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 1. Add a new “Custom HTML” tag and paste the Partial Tag into the HTML field. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/mceclip8.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) > **Note:** Variables will vary from one account to another. Please check with your Web Dev team to select the correct variables. 1. Select the corresponding trigger; in this example, the tag should fire on the Purchase Confirmation page. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/mceclip9.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 1. Save the tag and publish all changes Once implemented, please contact your Quantcast team to confirm the tag is working properly. ### **Adding Variables for Data Passback** There are various ways to generate data on the page. Below is the most common via a data layer. 1. Update your page code to capture the data you want to collect in the data layer (e.g., order ID, revenue, customer type, etc). Additional instructions for implementing the data layer can be found [here](https://developers.google.com/tag-manager/devguide). The code would look something like this: ```plaintext window.dataLayer = window.dataLayer || []; window.dataLayer.push({  '0rderid': 'orderid_Value1',  'Variable_Name2': 'Variable_Value2',  'Variable_Name3': 'Variable_Value3' }); ``` 1. Indicate to GTM the location of the data. In this example, we will set up orderid. Click **Variables** from the GTM menu. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/mceclip10.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 1. Click **New** under User-Defined Variables to open the setup menu. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/mceclip11.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 1. Click **Untitled Variable** and name your variable. 2. Click the **Variable Configuration** area. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/mceclip12.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 1. Select the method that GTM will look for data passback. We will select **Data Layer Variable** from the menu for this example. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/mceclip13.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 1. Add the Data Layer Variable name in the field. We are using **orderid** because that is the variable name in the data layer. Your Data Layer Variable name may be different. Leave all other settings as-is. ![](https://cdn.us.document360.io/9a180fa0-df3b-4942-a5f6-b3905cf917d9/Images/Documentation/mceclip14.png?sv=2026-02-06&spr=https&st=2026-11-09T15%3A48%3A42Z&se=2026-11-09T16%3A48%3A42Z&sr=c&sp=r&sig=jdpgClfNU8h8tPXp992Q0fOB3XPNIVbnjryv6VYvA9U%3D) 8. Click **Save** in the upper-right corner once this is complete. Repeat the steps above to add additional variables. Once your **User Defined Variables** are set up, they will be visible on the menu. After you've created the variables, return to the Conversion Tag setup to complete the implementation. If you have any questions, please contact Quantcast suport. ## **Additional Information on Tagging** - [Live Tagging Overview](/v1/docs/pixel-tagging-overview) - [Tagging Best Practices: Overview](/v1/docs/best-practices-tagging)