Can I pass in a cost value with each click?
Absolutely. You can specify set costs (one-time, CPC, CPA, etc.) for any 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
), 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
in your link:
Their system will then replace the
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:
Article 33 Last updated: 06/17/2020 7:19:51 AM