Green Affluent Header Image

The Definitive Affiliate Sub-Campaign (SID) Tracking Guide + Cheat Sheet

by Yon Dotan

Tracking in the world of affiliate marketing is, at best, a nightmare. We know that. In fact, it’s the whole reason we created Affluent Analytics!

One of the few tricks which can help you step up your analytics game as an affiliate is by using sub-campaign tracking.

What is sub-campaign tracking?

In short, sub-campaign tracking is a way to get more detailed data about your transactions.

In not-short, as an affiliate, you run campaigns for different merchants and products. You can see how well you’re doing on those campaigns with basic statistics like clicks, commissions, etc. Depending on the network and your setup, you may also be able to see referring URL data.

However, sometimes you may want to see more than that. For instance, what if you have two different CTAs on your page (e.g. a contextual link vs a banner) and you wanted to see which one got you more sales? Or, for another example, what if you are getting PPC traffic or Facebook traffic from multiple different keywords / ads?

Sub-campaign tracking is a way to track, essentially, any variable you want. Affiliates who work with paid ads are usually relatively on top of it with this (though some mistakes are still relatively common). Publishers who rely on organic traffic and email marketing are often behind the curve.

Common things to track with sub-campaigns are different:

  • Websites
  • Referral URLs
  • Calls to action
  • Landing pages
  • Keywords / Ads
  • Sources (Organic, PPC, Email, etc.)
  • User-Types (Personal, SMB, Enterprise)
  • Sub-Affiliates
  • Anything else that can help you optimize

A Rose by Any Other Name (Is Still Just Sub-Campaign Tracking)

One of the things that makes sub-campaign tracking tricky is that there is no standardized terminology for it. In CJ, sub-campaign tracking is “SID Tracking,” in Rakuten it’s “Signature Tracking,” and in ShareASale, it’s “Afftrack.” All of these and more refer to exactly the same thing. Names for Sub-campaign tracking codes include Sub-Campaign, SID, Sub ID, TID, Signature Tracking, Afftrack, ClickRef, Pubref, ctc, customid and others.

How to Use SIDs

For networks that support sub-campaign tracking, it is generally pretty easy to implement. Generally, an affiliate URL looks something like this:

shareasale.com/r.cfm?u=123456&b=654321&m=12345

The link will consist of a domain plus parameters which show which affiliate (you) is sending the visitor, which merchant is receiving the visitor and possibly other details like what landing page you are trying to send traffic to.

Generally, sub-campaign tracking consists of simply adding another parameter to the link. For instance, for ShareASale, it might look like this:

shareasale.com/r.cfm?u=123456&b=654321&m=12345&afftrack=main_landing_page

Some networks allow you to add multiple values. For example an Impact Radius link might look like this:

sampe.evyy.net/c/123456/12345/1234?subId1=value_1&subId2=value_2&subId3=value_3

When users click and, eventually, purchase through these links, you will be able to view that data in the affiliate network.

The Advanced Stuff – Using SIDs with Adwords & Facebook

One of the most important uses for sub-campaign tracking is combining the use of SIDs with data from paid tools like AdWords and Facebook. For instance, AdWords appends a unique identifier to every click produced from one of your ads known as a “GCLID.” With a little bit of programming, these identifiers can be passed on to affiliate networks or programs in the form of SIDs. This allows you to know exactly which ad is driving sales, what locations sales are coming from and more.

Using offline conversion tracking, you can then even feed this data back into AdWords in the form of conversions, giving you the full picture of what you spent, where you spent it, and how much revenue that created for you. Affluent can make this process easier by allowing you to export a full list of transactions, including SIDs.

Privacy & Data Security with Sub ID Tracking

Data security can be a concern for some affiliates when using SIDs. For instance, affiliates who rely on AdWords may send keyword data through their SIDs to see which keywords convert better. Especially with smaller individual programs, this can be a concern. For example, if you are promoting the Red Widget Company, in their backend, they would theoretically be able to see all of your SIDs. If, for instance, they saw that “Where to buy Red Widgets” was working well for you as a keyword, they could then start to use that keyword themselves, essentially competing with you. A simple, though not fantastic, solution to this is to maintain a reference table of IDs and keywords. For instance, in the SID, instead of “Where to buy Red Widgets,” you might write “1234.” You would then need to refer to your table to see what keyword “1234” referred to.

The Definitive SID Cheat Sheet

The following table shows what sub-campaign tracking is called, which parameters to use and some other details for most major networks. If we’re missing something, add it in the comments!

To use one of the parameters, simply append it to your link. For example, in CJ, the appropriate parameter is “sid.” So, if your original link is something like this:

somecjlink.com/click-1234567-12345678

You would append ?sid=your_desired_value to the link, giving you:

somecjlink.com/click-1234567-12345678?sid=some_desired_value

A quick primer on URL parameters for anybody unfamiliar with them:

URL Parameters are variables tacked on to the end of a URL in a string. If no parameters are present, the first parameter is designated with a question mark. For example:

example.com/some-page?parameter1=value1

Additional parameters are appended using a question mark. For example:

example.com/some-page?parameter1=value1&parameter2=value2&parameter3=value3

So, without any further ado:

NetworkNameParameter(s)Max LengthSupported CharactersNotes
Affili.netSubID Trackingsubid80 CharsAlphanumericGo to Account -> Tracking -> SubID Configuration to enable
AvangateLink SourceAFFSRCUnknownAlphanumeric 
Affiliate FutureTracking IDtrackingUnknownAlphanumeric 
AvantLinkCustom Tracking Codectc32 CharsAlphanumeric 
AwinClick Referencesclickref, clickref2, clickref3, clickref4, clickref5, clickref650 CharsASCIIUp to six different values per link
CAKESUB IDs1, s2, s3, s4, s5100 CharsASCIIUp to five different values per link
CJSite IDsidUnknownASCII 
ClickbankTracking IDtid100 CharsAlphanumeric 
ClixGaloreOrder IDOIDUnknownAlphanumeric 
Ebay Partner NetworkCustom IDcustomidUnknownAlphanumeric 
HasOffersSub ID Trackingaff_sub, aff_sub2, aff_sub3, aff_sub4, aff_sub5255 CharsAlphanumericUp to five different values per link
iDevAffiliateKeyword Tracking Linkstid1, tid2, tid3, tid425 CharsAlphanumeric 
Impact RadiusSub ID TrackingsubId1, subId2, subId350 CharsASCIIUp to three different values per link
LinkConnectorAffiliate Tracking Identifieratid100 CharsAlphanumeric 
LinkTrustSubIDSID500 CharsAlphanumeric & DashesUp to 10, comma separated values (e.g. SID=1,2,3,4,5…)
oneNetworkDirectSub IDsubid1, subid2, subid3, subid4, subid5UnknownAlphanumericUp to five different values per link
Pepperjam (eBay)SID Trackingsid100 CharsAlphanumeric 
PartnerizePublisher Referencepubref100 CharsAlphanumeric 
Post Affiliate ProSubID Trackingdata1, data2, data3UnknownAlphanumeric 
Rakuten LinkshareLinkshare Signatureu172 CharsAlphanumeric 
RevenueWireSubID TrackingsubId2, subId3, subId4UnknownAlphanumericUp to three different values per link
ShareASaleAffiliate Defined Trackingafftrack255 CharsAlphanumeric 
TradeDoublerEnhanced Publisher Integradionepi64 CharsAlphanumeric 
WebgainsClick ReferenceclickrefUnknownAlphanumeric 

The base of any good marketing campaign is strong tracking capabilities and sub-campaign tracking is one of the strongest tools in the affiliate industry for upping your tracking game!

Leave a Reply

Your email address will not be published. Required fields are marked *