Salesforce

Using the Publisher MasterTag

« Go Back
Information
Using the Publisher MasterTag
This article explains the Publisher MasterTag, a JavaScript tool by Awin that connects publishers to advanced tracking and conversion-enhancing technologies to boost affiliate earnings.
what-is-publisher-mastertag
Details

What is the Publisher MasterTag and how does it work?

What plugins are available with the Publisher MasterTag?

The Publisher MasterTag is a JavaScript tag you install on your website. It helps Awin track your affiliate sales accurately, improve your visibility in AI-powered search results, and gives you access to a suite of plugins that can boost your conversions.

These technologies help you earn more commissions.

Who needs the Publisher MasterTag?

Any publisher with a website. If you have affiliate links on pages you own, the Publisher MasterTag ensures those links are tracked reliably and that your content is eligible for AI search visibility tracking.

What it does

The Publisher MasterTag delivers three core benefits:

  • AI search visibility: Awin tracks clicks on citation links generated by AI search engines, attributing AI search-led sales to your account.
  • Accurate tracking: Automatically includes referral URLs in your Awin tracking links to reduce the risk of missed or misattributed transactions.
  • Plugin access: Once installed, you activate optional plugins from within the platform to further boost performance.

Available plugins

You can activate plugins separately in the platform after installation.

The following are currently available:

Some plugins require additional technical integration. Where applicable, the details are in the notes section of the Publisher MasterTag page in the platform.

How to install the Publisher MasterTag

For a walkthrough of the installation process, watch the How to Install and Activate the Awin Publisher MasterTag.

Step 1: Copy the script

  1. In the platform, navigate to Toolbox > Publisher MasterTag.
  2. Copy the JavaScript code shown under “Add Javascript”. It should look like the following:
<script src="https://www.dwin2.com/pub.PublisherID.min.js"></script>

Make sure to replace PublisherID with your own publisher ID. To locate this, see Where can I find my Publisher ID?

Step 2: Add the script to your website

Paste the script into each web page containing affiliate links. Place it at the very bottom of the page body, immediately before the closing </body> tag.

If you use a website builder or blogging platform, follow the relevant guide below:

Step 3: Test the installation

Use either method below to confirm the Publisher MasterTag is installed and loading correctly.

Browser inspector

  1. Open your website in Chrome and press F12 to open the browser inspector.
  2. Go to the Network tab and refresh the page.
  3. Type dwin in the filter box.
  4. Confirm the Publisher MasterTag loads with your publisher ID.

Page source

  1. On your website, press Ctrl + U to open the page source.
  2. Confirm the Publisher MasterTag script appears immediately before the closing </body> tag.

Note: The browser inspector confirms the Publisher MasterTag loads; the page source confirms correct placement.

Step 4: Activate a plugin

In the platform, go to Toolbox > Publisher MasterTag, and select a plugin and toggle its switch to the right until it turns green.

Permissions

You can review the data permissions required by each technology directly in the Awin platform. For more details, see What permissions does the Publisher MasterTag require?

Version Info
 
Validated
Published
Checked
English
Main Article Info
19/06/2020, 10:53
24/08/2026, 06:39
72,993
16/06/2020, 20:30
Translation Info
System info
Astha Choudhary
Ashley Hyun

Powered by