WildEarth Guardians

A Force for Nature

Select Page
How to: Create Tags in Google Tag Manager

AdWords Conversion Tags, Explained (simply)

Conversion tags tell Google when something happens on a web page. In simple terms, a tag is related to a Google Ad and is set up with a trigger. A trigger is an action such as a page load or button click. When the trigger is fired, a piece of data is sent to Google to tell them that an action was taken on the page. In the event of AdWords conversion tags for Luminate pages, the trigger is the page load. When a user conducts a Google search that results in the WildEarth Guardians ad being displayed, and subsequently clicks on the link which loads the page, Google records a conversion for that ad.

Google Tag Manager

We use Google Tag Manager (GTM) to manage AdWords conversion tags. This allows us to manage all tags in one place and prevents us having to add code to individual Luminate pages.

Creating Ad Conversion Tags for Luminate Pages

 
Adding Embed Code to the Luminate Page Wrapper

Ad conversion tags require that code be placed in the head and body of each page that’s the target of an ad. In Luminate, the embed code is already installed on the 2017 Action Center Denver Campaign and 2017 Action Center Scrape wrappers. If you’re using one of these wrappers, skip down to the next section, Creating the Tag in GTM.

To add the embed code to a different wrapper:

    1. Locate the wrapper in the Page Wrapper Editor
    2. Click on Manage Versions
    3. Create a copy of the active version
    4. Click Edit
    5. Add code to the head section:
      1. In the left sidebar, click on 2. Meta Tags. Add the following code to
        the bottom of the last section ‘Additional HTML Tags for HEAD Element’
        <!– Google Tag Manager –>
        <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=
        ‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
        })(window,document,’script’,’dataLayer’,’GTM-TT2MXMD’);</script>
        <!– End Google Tag Manager –>
    6. Click SAVE.
    7. Add code to the body section:
      1. In the left sidebar, cClick on 3. Body Tag Attributes. Add the following code to the bottom of the last section ‘Additional attributes for the BODY tag’
        <!– Google Tag Manager (noscript) –>
        <noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-TT2MXMD”
        height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
        <!– End Google Tag Manager (noscript) –>
    8. Click SAVE.
    9. Use the breadcrumbs to go back to the Campaign. Click Publish to bring the page wrapper live.
Creating the Tag in GTM

Three pieces of information are required in order to create a conversion tag in GTM: 

    1. The URL of the Luminate page that is the target for the conversion (and that page must have the embed code in the wrapper, see above)
    2. The Conversion ID (provided by your SEO person)
    3. The Conversion Label (provided by your SEO person)

Once you have all three pieces of information, log into the Google Tag Manager to create the tag and trigger:

    1. Ensure you are working in the WildEarth Guardians Luminate container (this will probably be the only container in the list). Click the container link to go into the dashboard.
    2. Click ‘New Tag’
    3. Click the icon in the New Tag section
    4. Select Google Ads Conversion Tracking
    5. In the top left of the dialog box, name the tag. Use a name that’s easy to recognize; for example, “CO Clean Air Page View Tag”
    6. Enter the Conversion ID and Conversion Label
    7. Now click the icon in the Triggering box
    8. In the top right, click the blue ‘+’ symbol
    9. Name the trigger. Use a name that’s easy to recognize; for example, “CO Clean Air Page View Trigger”
    10. Click the icon and choose trigger type “Page View”
    11. In the next section, select “Some Page Views”
    12. From the drop-downs, select “Page URL” , “ends with” , and enter the last part of the Luminate page URL: UserAction&id=9999 (the 4-digit page identifier will be different for each action)
    13. In the upper right corner, click the blue ‘Save’ button
Test the New Tag

Enter Preview mode to test a new tag.

    1. If you are not on the GTM dashboard, click ‘Overview’ in the left sidebar to get back to it.
    2. Locate the Preview button near the top right of the page, and click it. You will see an orange bar appear at the top of the GTM dashboard.
    3. Now, open a new browser tab and go to the page that you just added the conversion tag to (the Luminate action page)
    4. A Tag Manager panel should open at the bottom of the page. If it does not, your tag is not set up correctly. Go back into GTM and double-check the settings and trigger for the tag.
    5. The Tag Manager panel will show you which tags fired on your page. You should see the newly created tag under “Tags Fired On This Page.” If you do not, go back into GTM and double-check the settings and trigger for the tag, then reload the Luminate page.
Publish the New Tag(s)
    1. Go back to the GTM and exit preview mode by clicking ‘Leave Preview Mode’ under the orange preview bar
    2. Click the blue ‘Submit’ button at the top right of the GTM page
    3. Add a Version Name and Description
    4. Click Publish

Your conversion tag is now live! Let your SEO person know that it’s been activated.