Can I use Sub-IDs with my tracking links?

Absolutely! If you want you can add a Sub-ID to the end of any tracking link for even more granular tracking.

For example, here’s a regular tracking link:

http://$linkdomain/linkID

If you wanted to add a Sub-ID with the value of “homepage” you can just add it to the end like this:

http://$linkdomain/linkID/homepage

Or a Sub-ID with the value of “top_banner” like this:

http://$linkdomain/linkID/top_banner

You can add up to 5 Sub-IDs to the end of any tracking or rotator link just by adding them one after the other, separated with a “/” :

.../value1/value2/value3/value4/value5

By clicking on the number in the TC column of your overall stats, you can view the stats broken down by individual Sub-IDs. The breakdown shows only the first two Sub-IDs so, for meaningful results, you’ll want to make sure they are distinct combinations:





You can see any additional Sub-IDs by hovering over the symbol: 



 

The Sub-ID breakdown from the stats page only shows results based on the first two Sub-IDs. If you need a more detailed report based on all 5 possible Sub-IDs, use the Sub-ID Stats Report that you can find in the Tools menu under “Link Reports”.

For more details check out the video tutorial below which can also be found on the Tutorials page:
 
How To Use Sub-IDs with Tracking Links

 
Combine your Sub-ID stats

If you have more than two Sub-IDs and you want to see the data from your link stats—without having to download the data—simply combine multiple Sub-IDs into a single Sub-ID using a separation character, such as a “-”.

For example instead of using a link like this with three Sub-IDs:

http://$linkdomain/linkID/subid1/subid2/subid3

... you could combine subid2 and subid3 using a hyphen or other character like this,:

http://$linkdomain/linkID/subid1/subid2-subid3

Just be aware that when you combine multiple Sub-IDs like this, you might exceed the maximum length for a Sub-ID which is currently 50 characters. Any extra characters will be dropped.


Passing Sub-IDs to your Primary URL

If you want to pass your Sub-IDs to the link in the Primary URL, you can do that too. The tokens [s1]-[s5] can be used anywhere in your Primary URL and ClickMagick will replace each token with the corresponding Sub-ID that is passed in with each click.

For example if you wanted to pass the first Sub-ID to the offer parameter in the query string of your Primary URL, you would do it like this:

http://www.company.com?offer=[s1]

If you were passing the third Sub-ID to another ClickMagick tracking link (or rotator) in your Primary URL, you would simply pass it forward just as you would pass any Sub-ID to a link or rotator:

http://$linkdomain/linkID/[s3]

That would pass the [s3] value as the first Sub-ID to the link.

 
Tip: Before using Sub-IDs, you’ll want to make sure you understand exactly what you can pass in them. Sub-IDs are pretty flexible, but there are a few restrictions:

 What are the valid characters and length of a Sub-ID?