Knowledge Base      

Can I pass a click cost to my Tracking Link?

Absolutely. You can specify set costs (one-time, CPC, CPA, etc.) for any Tracking Link.

Just edit the link and click over to the Cost tab. Then enter a value for Traffic Cost and select the type of cost that ClickMagick should be using in your stats.

If you choose “One-Time Cost”, the cost value you enter will be averaged over the number of clicks the link receives.

What if my cost-per-click varies for each click?

If your CPC varies from click to click, you’ll probably want to use the following method for the most accurate stats.

To include a cost value for each click, you can simply add it to the end of any tracking link, after any sub-IDs you might have for the link:

For example, here’s a regular tracking link:

If you want to include a CPC amount of 0.50 for this click, just add it to the end like this:

If your ad network has a “cost token” or “placeholder” (such as {CPC}), then you can use it, which will cause their system to pass a dynamic numerical value for the CPC to your link.

For example, your affiliate network may tell you to use the token {CPC} in your link:{CPC}

Their system will then replace the {CPC} token with the actual cost-per-click value before it redirects to your link.

Different networks will use different tokens, so consult their documentation.

Two important things to remember …

First, if you want to pass in cost data through your tracking links, you MUST leave the cost data blank in your advanced link settings. Any cost data that you specify in your link settings will override what’s passed in using the method above.

Second, if you include cost data using the method above, it MUST come AFTER any optional sub-ID parameters.

So if you want to include a sub-ID and cost data, the example above showing a CPC of 0.50 would need to look like this:

Basically, the cost data must always be at the very end …

For more information on sub-IDs, read this article:
Can I use Sub-IDs with my tracking links?

Article 33 Last updated: 05/17/2022 11:21:39 AM