Set up Floodlight tags, activities, and groups

Create a global site tag for both Floodlight and Google Ads conversion tracking

If you use both Floodlight and Google Ads conversion tracking, you only need one global site tag on every page of your site. The global snippet in this tag needs to include 'config' commands that identify both your Floodlight configuration and the Google Ads conversion ID for each Google Ads account you're tracking.

Each Floodlight activity and Google Ads website action will have its own event snippet, and you install each event snippet only on the page that contains the event you're tracking.

Overview

Here's an overview of the steps for creating a global site tag for both Floodlight and Google Ads conversion tracking:

  1. Copy the global snippets and event snippets from Search Ads 360 and Google Ads.
  2. Combine the global snippets into a single global snippet.
  3. Install the global snippet and event snippets on your site.
    If you're already using Floodlight iframe or image tags on your site, you'll need to remove the iframe or image tags.

Copy global snippets and event snippets

  1. In Search Ads 360, do the following:
    1. For any new Floodlight activities you're creating, create a global site tag.
      For any existing Floodlight activities, convert the existing tag to a global site tag.
    2. Copy the global snippet and event snippet, paste them into a simple text file and save the file.
  2. Sign into each Google Ads account that you're tracking and do the following:
    1. In the upper right corner, click the tool icon , and under "Measurement," click Conversions.
    2. In the Name column, click the name of a website conversion action.
    3. On the action's Details tab, expand Tag setup.
    4. Download the global snippet and event snippet.

Combine global snippets

  1. Copy the 'config' command from each Google Ads global snippet you copied or downloaded.
    For example, copy this line:
    gtag('config', 'AW-234567890');
  2. Open the file with the global snippet from Search Ads 360 and paste the Google Ads 'config' command right after the Search Ads 360 'config' command.

Here's an example of a combined global snippet that contains a 'config' command from Search Ads 360 and two 'config' commands from two Google Ads accounts:
 <!-- 
Start of global snippet: Please do not remove
Place this snippet between the <head> and </head> tags on every page of your site.
-->
<!-- Global site tag (gtag.js) - DoubleClick -->
<script async src="https://www.googletagmanager.com/gtag/js?id=DC-1234567"></script>
<script>
 window.dataLayer = window.dataLayer || [];
 function gtag(){dataLayer.push(arguments)};
 gtag('js', new Date());

 gtag('config', 'DC-1234567');

 gtag('config', 'AW-234567890');
 gtag('config', 'AW-345678901');

</script>
<!-- End of global snippet: Please do not remove -->

Note that the <script async> tag only needs one ID in the src attribute. Don't update the src attribute with IDs from the config commands you copied.

Install the snippets

Install the combined global snippet on every page of your site, within the <head> section.

Additionally, install each event snippet after the global snippet and within the <head> section of the page that the event is tracking. 

If you're already using Floodlight iframe or image tags on your site, you'll need to remove the iframe or image tags. See the migration guide for details.

Was this helpful?
How can we improve it?