Use the Google tag

Using a Google tag for both Floodlight and Google Ads conversion tracking

If you use both Floodlight and Google Ads conversion tracking, you only need one Google tag on every page of your site. The global snippet in this tag must 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 conversion action and Google Ads website action has its own event snippet, and you only install each event snippet on the page that contains the event you're tracking.

Overview

Use a Google tag for both Floodlight and Google Ads conversion tracking as follows:

  1. Copy the global snippets and event snippets from the new 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.

Copy global snippets and event snippets

  1. Sign in to your Search Ads 360 experience.
  2. Create a Google tag for any new Floodlight conversion actions you create. For any existing Floodlight conversion actions, convert the existing tag to a Google tag.
  3. Copy the global snippet and event snippet, paste them into a text file, and save the file.

Navigate to each Google Ads account that you're tracking and do the following:

  1. From the page menu, under “Tools & settings”, click Conversions.
  2. Click Summary.
  3. On the "Google Ads conversions" page, click the name of a website conversion action.
  4. On the "Details" page, click Tag setup to expand the section.
  5. 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 the new Search Ads 360 and paste the Google Ads 'config' command right after the Search Ads 360 'config' command.

The following is an example of a combined global snippet that contains a 'config' command from the new Search Ads 360 and two 'config' commands from two Google Ads accounts:

Example

<!-- 

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://googletagmanager.com/gtag/js?id=DC-1234567"></script>

<script>

 window.dataLayer = window.dataLayer || [];

 function gtag(){dataLayer.push(arguments)};

 gtag('js', new Date());

 

 <!-- Search Ads 360 config --> 

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

 

 <!-- Google Ads config --> 

 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.
 

Learn how to troubleshoot your global site tag for Google Ads conversion tracking.

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 need to remove those tags. Refer the migration guide for details.

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Search
Clear search
Close search
Google apps
Main menu
2685237465160465120
true
Search Help Center
true
true
true
true
true
5055977
false
false