Knowledge Base      


How do I pass multiple PPC tokens to Tracking Links?


Let’s say you’re running some PPC ads on Microsoft/Bing and direct linking to affiliate offers so you have to use Tracking Links.

You’ve read about the Microsoft/Bing Ads Tokens that are available and you’ve decided you want to store the {KeyWord} and {MatchType} with each click, which will be stored as Sub-Ids within ClickMagick.
 
Now, let’s suppose that you’ve created a tracking link for your Microsoft/Bing ad that looks like this:

https://www.clkmg.com/[USERNAME]/bing/

To instruct Microsoft/Bing to append the exact keyword that generated the click to the end of your tracking link as a sub-ID, you just add {KeyWord} to the end like this:

https://www.clkmg.com/[USERNAME]/bing/{KeyWord}

That’s known as a “token”, and it works as a placeholder. When a user clicks your ad it will be replaced with a real value – in this case the keyword you’re bidding on that generated the click.

To add additional Sub-IDs simply continue adding them to the end of your link. So if you also wanted to include {MatchType} it would look like this:

https://www.clkmg.com/[USERNAME]/bing/{KeyWord}/{MatchType}

Once you start running traffic to this link you’ll be able to view the Sub-ID Stats report for this particular tracking link and you’ll see all of your stats broken down by keyword and match type.


Additional Details & Limitations

You can add up to 5 Sub-IDs at the end of any tracking link as shown above, but please keep in mind that only the first two Sub-IDs will show up in your ClickMagick stats.

The other three will be tracked and recorded, and are available for passing on to your website or other systems via the Primary URL, but in order to actually see the additional Sub-IDs you’d need to download your data.

 


Keep in mind that any of the “ID” tokens – like {AdGroupID}{AdID}, and {CampaignID} – or any other values that are purely numeric are not useful in ClickMagick because you have no idea what the numbers represent.

If you need to pass these types of numeric values to other systems via your Primary URL make sure that the first one or two Sub-IDs are the ones you want to see inside ClickMagick, and then include these last.

If you absolutely need to be able to see more than two Sub-IDs inside ClickMagick – for example {KeyWord}, {AdGroup}, and {MatchType} – you can simply combine two tokens into one Sub-ID value like this:

https://www.clkmg.com/[USERNAME]/bing/{KeyWord}/{AdGroup}-{MatchType}

Using this example, the first Sub-ID would be the keyword and the second Sub-ID would be a combination of adgroup and matchtype separated by a hyphen.

If you need to do this, just keep in mind two very important details …

1. Always put the most important data you care about in the first Sub-ID position (generally the keyword)

2. Do NOT combine values in the first Sub-ID position, or your Sub-IDs stats report won’t be terribly useful because the first Sub-ID on every click will likely be unique or very close to unique.

If you need to combine Sub-ID values make sure you pass the most important value in the first Sub-ID position and then combine values in Sub-ID positions two to five as shown above.

Article 505 Last updated: 12/02/2020 1:37:45 PM
https://www.clickmagick.com/kb/?article=505