Overview
Integrating the TUNE tag for client-side tracking used to require editing the code of the website where the tag was to be used. Now, a publicly-available tag template can be used to set up the tag on any webpage that is already using Google Tag Manager without any further code changes required. The TUNE Tag has options for tracking both clicks and conversions.
*Server Postback with Transaction ID must be selected as the tracking protocol for the offer to track conversions correctly.
Adding the TUNE Tag Template
Adding the template requires searching in Google’s community template gallery for TUNE’s tag template and accepting the associated permissions. This only needs to be done once per Google Tag Manager account.
- Navigate to the Templates section and click Search Gallery under the Tag Templates heading.
- Search “tune” in the community template gallery search bar, and click to add it to your workspace.
- Accept the permissions associated with the template. Note that the script injection permission is only permitted to inject scripts from TUNE’s SDK domain, js.go2sdk.com. This allows us to place our tag template on your site.
- The TUNE tag template is now available for use in this account.
Adding a Click Tag
After adding the template to a Google Tag Manager account, you’ll want to create a tag for tracking clicks from your partners.
- Navigate back to the Tags section and click New to add a new tag.
- When asked to choose a tag type, click the TUNE Tag template.
- Next, the tag needs to have the fields filled in. The values will depend on each individual use case, but at least one network and tracking domain pair are always required. Click Add a Network.
Enter your Network ID (such as “test”) and tracking domain (such as “https://test.go2cloud.org”), then click Add. - Select the radio button for Click. When Click is selected, any of the TUNE click Parameters can be added.
These click parameter fields are purely optional, and allow you to provide either a default value or an override value for a given parameter.
Default parameters will only be used if the click URL does not already include a value for that parameter, while Override parameters will take precedence over the values in the URL.
Here’s an example of a tag with some standard click parameters filled in: - Each tag in Google Tag Manager needs a trigger to tell it when to fire. In general, the Click tag should be triggered on all pages except for the conversion page. That way a click will be tracked no matter which page on your site the user lands on.
Here is an example of a TUNE tag set to Click with a default value “aff1value” to be set for aff_sub, and an override value “aff2value” to be set for aff_sub2. - Save the tag.
Adding a Conversion Tag
- To track conversions, we’ll add a second tag. Navigate back to the Tags section and click New to add another new tag.
- When asked to choose a tag type, click the TUNE template, as before.
- Click Add a Network, enter your Network ID (such as “offerdyne”) and tracking domain (such as “https://offerdyne.go2cloud.org“) as before, then click Add.
- Select the Convert radio button.
For the Convert action, any of the optional TUNE parameters for a conversion link can be used. There is no concept of defaults and overrides with conversion parameters. - Select a trigger for the Conversion tag. In general, the Conversion tag should only be fired on the page that confirms a conversion has taken place, such as a “Thank you” page or an “Order Confirmation” page.
- Save the tag.
Additional Resources
For more information about Google Tag Manager, please refer to Google’s Tag Manager Help Center.