I want to record Affiliate clicks into my site in Google Analytics or another Analytics software

OMG Tracking is designed to work with Google Analytics and UTM values can easily be setup.

The example URL below demonstrates how UTM values can be added to a URL to provide additional reporting in your Google Analytics account under Acquisition > Campaigns:


You can use the Google Analytics URL builder to help.

You can use OMG Tracking Macro’s to dynamically add information to your UTM values.

The example URL below uses an Affiliate ID macro to dynamically insert the Affiliate ID:


Other Analytics platforms can be configured in a similar way using OMG’s Tracking Macros.

The following Macros are available for Tracking URL Redirects:

Macro Description
{aid} Affiliate ID – a numeric identifier for an Affiliate
{mid} Merchant ID – a numeric identifier for your Merchant account
{pid} Merchant ID – a numeric identifier for your Product/Affiliate Campaign
{crid} Creative ID – a numeric identifier for a specific creative/banner on your Product/Affiliate Campaign
{sskey} Server 2 Server Key – a unique click reference used for more advanced tracking configurations
{ref_url} Referring URL – the URL the user visited where they clicked on an OMG Tracking URL for your Product/Affiliate Campaign
{timestamp} UNIX timestamp – a UNIX timestamp value (useful for cache-busting)