Knowledge Base         


What are the optional Campaigns URL Parameters?


In addition to UTM parameters, Campaigns also supports a handful of ClickMagick-specific parameters you can add to your URLs or website code to enabled advanced features or to override default settings.

Note that parameters in the URL will always override the same parameter specified in your website code …

 
cmc_project    Your Project name will default to your domain name.

Projects are the individual “campaigns” or websites that you want to track with ClickMagick Campaigns. Do not confuse this with ad campaigns – a single project will often and usually does include multiple ad campaigns.

If you only have a single business with a single website – regardless of the number of ad campaigns you run – there’s a good chance you’ll only ever need a single Project.

If you need to track multiple projects on the same domain or want to change the Project name for any other reason you can add cmc_project=some-project-name to your URLs to associate the click with any Project you want. As always, just be sure to use a consistent naming convention and don’t make typos!

Project names can contains letters, numbers, periods, hyphens, and underscores and can be up to 255 characters long.
 
cmc_cpc   If you’d like to pass in a cost-per-click simply add cmc_cpc=1.00 to your URLs for example.
 
cmc_goal   Used to specify or override goal settings for a URL.

Acceptable values are a for an action, e for an engagement and s for a sale e.g. cmc_goal=a
 
cmc_ref   An additional tracking parameter you can use for anything you want e.g. cmc_goal=a&cmc_ref=optin

When it comes to tracking conversions, even though cmc_ref is technically optional, we highly recommend you get in the habit of always providing a unique “ref” value for each of the goals or conversions you track.

This will provide the most clarity in your stats and reports, and it’s actually required for certain functionality like the Funnel Steps Report or tracking multiple sales to the same customer.

For example, if you need to track multiple conversions of the same type for the same user i.e. an initial sale and an upsell (which is also a sale), you’ll need to specify a unique “ref” value for each conversion e.g. cmc_ref=sale for the initial sale and cmc_ref=upsell for the upsell sale.

The reason for this is that by default ClickMagick will not track duplicate conversions, and without unique “ref” values to differentiate the sales any additional sales appear to be duplicates.
 
cmc_amt   Used to specify a sales amount in conjunction with a sales goal e.g. cmc_goal=s&cmc_amt=99.00
 
cmc_vid   Used to enable cross-device tracking, and also to pass a unique Visitor ID from one domain to another in the case where parts of your funnel are spread across different domains e.g. https://othersite.com/nextpage.php?cmc_vid=[cmc_vid]

 
Note: Cross-device and cross-domain tracking is available on the Standard and Pro plans. If you’re on the Starter plan you’ll need to upgrade to use this functionality and this parameter.
 
 
cmc_strip   UTM URLs can get pretty long and “ugly.” If you add cmc_strip=utm to your URLs the UTM parameters will be removed from the URL in the address bar once the visitor lands on your page and their visit has been tracked. Any optional ClickMagick “cmc” or Google gclid parameters will be removed as well.

Just keep in mind that if you strip the UTMs then those values may or may not be available to other analytics or tracking codes you have on the page e.g. Google Analytics or Facebook’s pixel.

If you want to strip just the ClickMagick cmc parameters and keep the remaining parameters you can also use cmc_strip=cmc
 
cmc_ignore   You can add cmc_ignore=yes to any URL if you don’t want any tracking to take place.

For example, if you have an upsell that leads to the same page whether the user takes the upsell or not, if they don’t take the upsell you can set this parameter in the “no thanks” link so that no conversion is recorded when they land on the next page (assuming it has conversion parameters specified in the website code).
 
cmc_unique   Used to override the default behavior which allows for one unique click per user per day.

By default, ClickMagick will only record one unique click per user per day per “set” of UTM parameters.

The ad networks use black-box algorithms and don’t tell anyone exactly how their systems handle this, but based on what Google and Facebook developers have said in online forums, and the data we’ve seen, this relatively closes matches how their systems seem to work.

If you want to override this behavior, for example if you only want to track one unique click per user every 30 or even 365 days, you can simply add cmc_unique=30 or cmc_unique=365 to your URLs.

If you want to count every click as being unique, you can also set cmc_unique=0.



Article 447 Last updated: 07/03/2020 8:29:42 AM
https://www.clickmagick.com/kb/?article=447