Knowledge Base      


How do I track Campaigns conversions with a standard image pixel?


If you’re an affiliate and you want to track an “action” or an “engagement” goal but you can’t add the JavaScript conversion tracking code, you can use a standard image pixel instead if the platform you’re using allows it.

Note that in order for this to work, you must be properly passing the Campaigns [cmc_vid] token to your affiliate link as a Sub-ID, and then you need to use the corresponding token provided by your affiliate network to pass this value back to your image pixel. If you’re not already doing this, you can learn how to pass the correct Sub-ID to your network in this article about setting up Postback URLs:

Add a Visitor ID to Your Affiliate Link


For example, MaxBounty wants you to pass the value of [cmc_vid] to their affiliate link in s2 parameter, and when they pass this value back to your pixel, they want you to use the #S2# token which they will replace with the value you passed in in the s2 parameter.

Every affiliate network has their own rules for which parameter name to use when you pass in the Visitor ID, and which token they want you to use in your pixel so they can pass the value back. You can use the Postback URL Tool in the Campaigns Tools menu to determine this for your network.

Here’s the entry for MaxBounty, showing that they want you to use the #S2# token for their network (use whatever comes after s1= but before the next &):
 
 
 

So, assuming that you’re using MaxBounty, your pixel would use the #S2# token, like this:

Your Custom Campaigns Action Pixel

https://www.clkmc.com/api/a/pixel/?uid=[USERID]&vid=#S2#

Or…

<img src="//www.clkmc.com/api/a/pixel/?uid=[USERID]&vid=#S2#&ref=" height="1" width="1" />

… or for tracking engagements …

Your Custom Campaigns Engagement Pixel

https://www.clkmc.com/api/e/pixel/?uid=[USERID]&vid=#S2#

Or…

<img src="//www.clkmc.com/api/e/pixel/?uid=[USERID]&vid=#S2#&ref=" height="1" width="1" />

You may also add a unique reference value to the end of a pixel URL. Just remember that the “ref” value can only contain letters, numbers, dashes and underscores.

For example, if you’re using an engagement pixel to track order form impressions, your pixel might look like this:

https://www.clkmc.com/api/e/pixel/?uid=[USERID]&vid=#S2#&ref=order-form

Finally, while we still haven’t come up with a use for it, there’s also a Campaigns Sales Pixel.

If you find a use for a Campaigns Sales Pixel please let us know—we’d be curious to take a look at what you’re doing. Otherwise you should continue to use the standard Campaigns Conversion Tracking Code or Postback URLs to track your affiliate sales in Campaigns.

Your Custom Campaigns Sales Pixel

https://www.clkmc.com/api/s/pixel/?uid=[USERID]&vid=#S2#&amt=[AMOUNT]&ref=

Article 584 Last updated: 04/04/2023 8:45:49 PM
https://www.clickmagick.com/kb/?article=584