Add Floodlight activities to Google Tag Manager containers

You can now link Floodlight configurations to Google Tag Manager containers. Instead of having to copy portions of your Floodlight tags into Google Tag Manager templates, you can push the tags directly to Google Tag Manager containers.

Expand all sections   Collapse all sections

Understand Google Tag Manager

About Google Tag Manager containers

The Google Tag Manager container snippet is a site-wide tag that fires all of your other tags according to rules you specify. A container holds all the tags for a specific website.

Google Tag Manager keeps track of which tags should fire on the site and the rules for when those tags should fire. Each time a page with the Google Tag Manager container snippet loads, it requests the gtm.js JavaScript. The most up-to-date tag configuration is sent to the visitor’s browser with a set of tags and tag firing rules. As the visitor browses and interacts with pages that have the Google Tag Manager container snippet, the rules are evaluated and tags are fired as appropriate. Learn more about Google Tag Manager

Benefits of using Google Tag Manager
  • You can manage multiple Floodlight tags in a single place, rather than having to make manual changes to each page. You can put several tags in the same container, or associate the same tag with multiple containers.

  • Implementation is faster and more automated. Instead of having to send tags to Google Tag Manager administrators over email, you can make your updates and submit the tags automatically through the trafficking UI, complete with implementation instructions. You’ll be able to see when your tags have been approved and are live.

  • Containers execute asynchronously, meaning that they don’t block other elements from rendering on a page. Your pages are likely to load more quickly, since a slow loading tag won’t block other tracking tags.

  • You can test and update tags before adding them to a container and pushing them live. This reduces the risk of errors introduced by copying and implementing tags.

  • Floodlight and Google Tag Manager permissions can be managed separately. The Campaign Manager 360 owner controls the content of the Floodlight tags, while the site owner or GTM administrator is responsible for approving the tags and pushing them live (these can also be the same individual).

Use Google Tag Manager with Floodlight

Link to Google Tag Manager

Before you can start using a Floodlight tag with Google Tag Manager, you must establish a link between the Floodlight configuration and the container. You’ll need to have the container ID on hand, which you can obtain in the following ways:

  • Request it from the Google Tag Manager administrator
  • If you have access to Google Tag Manager, locate it on the “Overview” page or under Users & Settings > Settings
  • Check the source code of a tagged page.

The container ID will have the prefix “GTM,” as in the example below (in bold):


<!-- Google Tag Manager -->
<noscript><iframe src='//' height='0' width='0' style='display:none;visibility:hidden'></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//'+i+dl;f.parentNode.insertBefore(j,f);
<!-- End Google Tag Manager -->

To create a link between the Floodlight configuration and the container:

  1. In Campaign Manager 360, select an advertiser and click the Floodlight > Configuration.

  2. Expand the Google Tag Manager section and click Link this Floodlight configuration to a Google Tag Manager container.

  3. Enter the container ID in the new row that appears.

  4. Click Save. A link request will be sent to the Google Tag Manager administrator.

When the administrator approves the association, the status will change to “Linked.” You’re now free to push Floodlight tags to this container.

To unlink a container from your Floodlight configuration, select the container and click Unlink, then save the changes.

Push activities to Google Tag Manager

Once you’ve established a link between a Floodlight configuration and a Google Tag Manager container, you can push tags from activities within the configuration to the container.

  1. Select an advertiser and click Floodlight > Activities.

  2. Select an activity.

  3. Expand the Google Tag Manager section. You should see any containers you’ve already linked to for that configuration.

    This section is only available if you've already followed the steps above for linking to Google Tag Manager.
  4. Select the container(s) and enter instructions for the person who will be implementing the tag on the Google Tag Manager side in the “Instructions” box.

  5. Click Push to Google Tag Manager.

  6. Save your changes.

After you save, the updated tags will be sent to the Google Tag Manager administrator. When the administrator approves the updated tags, the tag status will change to “Approved.”

If you make changes to an existing tag, you’ll have to click Push to Google Tag Manager, then Save again in order to push the updates to Google Tag Manager.
Use the Conversion Linker tag

To ensure that your tags can effectively measure all of your conversions, make sure that you’re using the Conversion Linker tag in Google Tag Manager.

To add the Conversion Linker tag:

  1. In your Google Tag Manager container, click Tags > New.
  2. For Tag Configuration, select the Conversion Linker tag type.
  3. For Triggering, select All Pages.
  4. Save your tag.
  5. Publish the Conversion Linker tag.
Google Tag Manager with Firebase for app tracking
Tag Manager should be used with Firebase for app tracking. Once configured with Firebase, Floodlight tags for apps can be managed within Google Tag Manager. Learn more

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

2024 Privacy Readiness guide

Prepare for a world without third-party cookies and unlock the AI
opportunity by adopting a durable measurement setup.
Start Today

Clear search
Close search
Google apps
Main menu