PRODUCT
Follow

The following article details the Tag Manager integration with Google Tag Manager (GTM).

Sizmek is currently testing Tag Manager with other tag management systems and will release those integration instructions when testing is complete.

Google Tag Manager (GTM)

Configure and Implement Tag Manager with GTM

Tag Manager can be integrated with GTM.

Procedure
  1. Sizmek CSM configures and generates the Tag Manager code in Sizmek Advertising Suite.
  2. Sizmek CSM sends the Tag Manager code to the GTM administrator.
  3. In the GTM, the administrator opens the account and creates a new tag.
  4. The administrator names the tag Tag Manager and selects Custom HTML for the tag type.
  5. The administrator pastes the Tag Manager code, provided by Sizmek, into the HTML box.
  6. The administrator selects the Support document.write check box.
  7. The administrator selects the default All Pages trigger in the Triggering section.

Advanced Scenarios

You can pass variables to Tag Manager to use for sales conversion activities and dynamic retargeting activities.

  1. Administrator creates a new User-Defined Variable for each parameter to be collected.
    1. Give the variable a name.
    2. Select a variable type (either Data Layer VariableJavaScript Variable or URL Query String Param) and set the Data Layer or global variable name.
  2. Reference this user-defined variable by name in the appropriate parameter portion of the Tag Manager code using the following syntax:

    "parameterName":"{{variableName}}"

  3. Follow the steps under Configure and Implement Tag Manager with GTM.

Fire Tag Manager onClicks and Buttons within GTM

  1. In GTM, the administrator creates a User-Defined Variable.
    1. Give the variable a name.
    2. Select the Auto-Event Variable as the variable type.
    3. Select Element ID from the Variable Type list, and click SAVE.
  2. In GTM, administrator creates a new tag.
    1. Name the Tag VT_.generateRequest and choose Custom HTML as tag type.
    2. Paste the following into the HTML box, replacing www.domain.com with the site domain (for example, www.sizmek.com):

      <script> versaTagObj.generateRequest("http://www.domain.com/versaTag/{{elementID}}"); </script>

  3. Under Advanced Settings and Tag Sequencing
    1. Select Fire a tag before VT_generateRequest fires and select Tag Manager as the setup tag.
    2. Select Don’t fire VT_.generateRequest() if Tag Manager fails
      This will ensure that VT_.generateRequest() only fires after Tag Manager has successfully fired.
  4. Add triggers to initiate the firing of the VT_.generateRequest tag, commonly on user clicks:
    1. Add a new trigger using All Elements type.
    2. Select Some Clicks.
    3. Define firing conditions based on the elementID variable and select SAVE.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments