Notification

Welcome to the help center for Search Ads 360, a platform for managing search marketing campaigns.  While the help center is available to the public, access to the Search Ads 360 product is available only to subscribing customers who are signed in. To subscribe or find out more, contact our sales team.

Search Ads 360 Natural Search

Add the Natural Search field or tag to your site

This article provides details on adding the natural search field to your Google tags. You can deploy the natural search field in one of two ways:

Deploy the natural search field manually

If you use the Google tag to record Floodlight conversions, customer support will send a dc_natural_search field to you. The field looks like this:

  'dc_natural_search': {
        'exclusion_parameters': [
          '^foo[_]bar=qux$',
          '^yes=no^'
        ],
        'engines': {
          'aol': '1;2;a',
          'ask': '3;4;b',
          'google': '5;6;c',
          'msn': '7;8;d',
          'yahoo': '9;0;e',
          'yahoo_japan': '11;12;f'
        }
      }

For desktop pages

Get your webmaster to add this field to the global snippet on every page of your desktop site. When your webmaster is done, your site's global snippet will look like this:

<!-- 
Start of global snippet: Please do not remove
Place this snippet between the <head> and </head> tags on every page of your site.
-->
<!-- Google tag (gtag.js) - Google Marketing Platform -->
<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', { 

  'dc_natural_search': {
        'exclusion_parameters': [
          '^foo[_]bar=qux$',
          '^yes=no^'
        ],
        'engines': {
          'aol': '1;2;a',
          'ask': '3;4;b',
          'google': '5;6;c',
          'msn': '7;8;d',
          'yahoo': '9;0;e',
          'yahoo_japan': '11;12;f'
        }
      }

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

For accelerated mobile pages

If you use accelerated mobile pages, you'll need to add this field to the Google tag on every page of your mobile site. When your webmaster is done, your site's Google tag will look like this:

<!-- Google tag (gtag) -->
<amp-analytics type="gtag" data-credentials="include">
<script type="application/json">
{
 "configRewriter": {
   "varGroups": {
     "dns": {"enabled": true}
  }
 },
 "vars": {
   "gtag_id": "DC-1234567",
   "config": {
     "DC-1234567": {
       "groups": "default",
       "dc_natural_search": {
        "exclusion_parameters": [
          "^foo[_]bar=qux$",
          "^yes=no^"
        ],
        "engines": {
          "aol": "1;2;a",
          "ask": "3;4;b",
          "google": "5;6;c",
          "msn": "7;8;d",
          "yahoo": "9;0;e",
          "yahoo_japan": "11;12;f"
        }
       }
     }
   }
 },
 "triggers": {
 }
}
</script>
</amp-analytics>

Use Google Tag Manager to deploy the natural search tag

Google Tag Manager makes it easy to manage tags from multiple Google sources, such as Google Analytics, Floodlight, etc. If you’re using Google Tag Manager for your site, follow these steps to deploy the Search Ads 360 Natural Search tag:

  1. Go to google.com/tagmanager, sign in, and access your site’s container.

  2. If you haven't already created a custom variable that can generate a random number, enable the built-in Random Number variable:

    1. In the left navigation panel, click Variables.

    2. In the Utilities box, select Random Number.

  3. Create a tag that is called on every page load:

    1. In the left navigation panel, click Tags.

    2. Click the New button.

    3. Replace Untitled Tag with a name that's meaningful to you.
      For example, enter Natural search tag.

    4. On step 1 Choose Product, click Custom HTML Tag.

    5. On step 2 Configure Tag:

      1. Paste the Natural Search tag from Search Ads 360 customer support into the HTML field.
      2. In the tag, set the value of the ord parameter to {{Random Number}} or to the name of your custom variable that generates a random number. 
      3. Click Continue
    6. On step 3 Fire On, click All pages.

    7. Click Save Tag to save your new tag.

  4. Follow the standard publishing process for Google Tag Manager:

    1. Create a container version.

    2. Preview and debug the version.

    3. Publish the new version.

For each page load, the tag determines if the referrer is a natural search result. If the page was visited as the result of clicking a natural search result, the tag "fires" and reports a natural search result. 

Test the deployment from Google Tag Manager

If you used Google Tag Manager to deploy your tag, do the following to test the deployment:

  1. In a Chrome web browser, visit the Chrome Web Store and install the Google Tag Assistant.

  2. Visit your site through a natural search result.

  3. Use the Tag Assistant to check that the Natural Search tag has fired.

  4. Visit another page on your site without clicking a search result.

  5. Use the Tag Assistant to check that the Natural Search tag did not fire.

Webmaster FAQs about the Natural Search tag 

These FAQs are only applicable if you use the Floodlight iframe tag and Natural Search tag.

 

Does this tag replace Floodlight tags?
The Search Ads 360 Natural Search tag is not itself a Floodlight tag. It is the tag responsible for tracking arrivals or visits from search engines and therefore is the essential part in Search Ads 360 Natural Search tracking.

 

Where on the page should the tag be posted?
The tag must be called every time the page loads. Posting the tag close to the top of the page within the HTML body tags is preferred. This will result in the most accurate tracking.

 

Can I use server-side include or some other language like Perl for the cache busting?
Yes, the webmaster may use whatever method as long as the tag contains a sufficiently random dynamic string. The JavaScript wrapper provided by Google Marketing Platform is meant to facilitate implementation and is only a suggestion. Client-side cache busting is preferred to server side.

 

How long do I leave the tag up on the site?
The tag must remain in place for Search Ads 360 Natural Search tracking to occur. The tag should not be posted, removed, and re-posted repeatedly. The tag should not be conditionally written to the page.

 

The tag is negatively affecting my page load time. Can I take it down?
The tag is very small, about 2.4 kb, and it's designed to have a minimal impact on page load. Search Ads 360 Natural Search tracking cannot occur without the tag in place.

 

I don’t want a Google Marketing Platform ad tag on my homepage. What can I do?
Search engines most often direct users to the homepage. Therefore, the homepage may be the most important location for the tag to be posted. If the tag is not present, Search Ads 360 Natural Search tracking cannot occur.

 

I have dynamically generated pages. Where should I post the tag?
The tag needs to render along with page content and load with each page request.

 

On what other pages should I post the tag?
Post the tag to any page that might be the landing page for a natural search visit. This includes vanity pages, temporary pages, or any associated pages that need to be tracked. For example, some clients maintain an About Us page.

 

On what pages should I include the exclusion parameter?
If you are running Paid Search campaigns, use this exclusion parameter on every page that the tag is used. If this is not done, natural search visits will not be counted. Implement the exclusion parameter like any other query string value. If no query string exists, add a new one. If your server does not support arbitrary exclusion parameters in the page URL, consult the implementation specialist for an alternate method.

 

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Search
Clear search
Close search
Main menu
10776423521305204462
true
Search Help Center
true
true
true
true
true
263
false
false