Setting up your UTM parameters correctly is ESSENTIAL for accurate attribution with Cometly. If any of your ads are not set up correctly then Cometly will not be able to track your events (i.e. Cometly will not track any purchases from an ad if it does not have the correct UTM set up). If you follow the instructions below, your UTM setup will be perfect for tracking your ads with Cometly.
Setup UTM Parameters on your Meta Ads
The following UTM parameters are required on every Meta Ad that you want to track with Cometly:
?comet_source={{site_source_name}}&comet_ad_id={{ad.id}}&comet_placement={{placement}}
To set these up inside the FB Ads manager, navigate to the ad level and select an ad that you want to track with Cometly. There should be a section titled "Destination" with a box for "Website URL". Simply paste the above UTM parameter code onto the end of the Website URL that you have in this section.
Before you publish the ad, make sure this area on the ad level is completely EMPTY like in the screenshot below:
PLEASE NOTE: If there is another "?" in your Website URL (for example if you have a variant in your URL), that means you are already using UTMs, so you would need to switch the "?" to a "&" before adding it to the end of your Website URL,
example, if your Website URL is:
www.test.com?variant=123456
Then instead of adding:
?comet_source={{site_source_name}}&comet_ad_id={{ad.id}}&comet_placement={{placement}}
You would need to add:
&comet_source={{site_source_name}}&comet_ad_id={{ad.id}}&comet_placement={{placement}}
So your final Website URL would be:
www.test.com?variant=123456&comet_source={{site_source_name}}&comet_ad_id={{ad.id}}&comet_placement={{placement}}
Now you can go ahead and publish your ad. As long as you use this setup process on EVERY ad, your tracking and attribution with Cometly will be PERFECT.
Setup UTM Parameters on your Google Ads
Cometly needs the following UTM parameter code attached to the end of every Website URL in the 'Tracking Template' section of each of your regular Google ad campaigns that are not Smart Campaigns:
{lpurl}?comet_source=google&comet_network={network}&comet_campaign={campaignid}&comet_ad_group={adgroupid}&comet_ad_id={creative}&comet_keyword={keyword}
Cometly needs the following UTM parameter code attached to the end of every Website URL in the 'Tracking Template' section of each of your Google Smart Campaigns:
{lpurl}?comet_source=google&comet_network={network}&comet_campaign={campaignid}&comet_ad_group={adgroupid}&comet_ad_id={creative}&comet_keyword={keyword}}&comet_type=smart
To set these up inside the Google Ads manager, navigate to Settings > Campaign Settings and select the campaigns that you want to track with Cometly. Then click Edit > Change tracking templates.
Then you should see a box labeled New tracking template and this is where you will need to place the UTM parameters listed above.
Once those parameters have been pasted, you can click "Apply" to apply those changes.
Setup UTM Parameters on your TikTok Ads
Cometly needs the UTM parameter code attached to the end of every Website URL in the "Destination page" section of each of your TikTok ads:
?comet_source=tiktok&comet_ad_id=__CID__
To set this up inside the TikTok Ads manager, navigate to the ad level and select an ad that you want to track with Cometly. There should be a section titled "Destination page" with a box for "Website URL".
Simply "copy" the above code (include the "?") and "paste" the code at the end of your Website URL in that section.
PLEASE NOTE: If there is another ? in your Website URL, that means you are already using UTMs, so you would need to switch the first "?" to a "&" before adding it to the end of your Website URL,
i.e. if your Website URL is
www.test.com?variant=12345667
then instead of
?comet_source=tiktok&comet_ad_id=__CID__
you would want to add
&comet_source=tiktok&comet_ad_id=__CID__
So your Final website URL would be
www.test.com?variant=12345667&comet_source=tiktok&comet_ad_id=__CID__
Now you can go ahead and publish your ad. As long as you use this setup process on EVERY ad, your tracking and attribution with Cometly for TikTok ads will be PERFECT.
Please reach out to support with any questions about setting up the UTM parameters on your TikTok Ads.
Your UTMs are now set up on all of your ads! You can navigate back to the Getting Started page and mark Step 4 as "complete", and you can move on to Step 5 - Import your existing ad campaigns into Cometly.