Tracking Meta (Facebook & Instagram) Ads
Add the Molecule Data UTM parameters to your Meta (Facebook & Instagram) ads.
COPY THIS UTM PARAMETERS STRING
utm_source=social&utm_medium=paid&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content={{campaign.id}}|{{adset.id}}|{{ad.id}}In your Meta Ads Manager account:
Click on the Ads tab.
Select all active ads.

Click the "Edit" button at the top of the menu.
Paste the UTM string you copied above into the URL parameters field.
Remove any UTM parameters (keep the actual link) from the Website URL field, if you have any there.
Click "Publish".
That's all you need to do. All of your ads will now be tracked and correctly attributed in the Molecule Data dashboard.
Customizing your UTM values
If you are an advanced UTM user, you may want to keep your existing utm_source, utm_medium, and utm_campaign values consistent with what you have used in the past. That is not a problem for Molecule Data — you can change any of these to your liking:
utm_source
utm_medium
utm_campaign
utm_term
For example, the UTM string could look like this:
utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content={{campaign.id}}%7C{{adset.id}}%7C{{ad.id}}
Or like this:
utm_source=facebook&utm_medium=cpc&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content={{campaign.id}}%7C{{adset.id}}%7C{{ad.id}}
IMPORTANT:
It is recommended not to change the utm_content part. If you need it to be a specific value, that is possible too — in that case, add &ref={{campaign.id}}%7C{{adset.id}}%7C{{ad.id}} at the end of your custom UTM string.
An example of that would look like this:
utm_source=facebook&utm_medium=cpc&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content=xyz&ref={{campaign.id}}%7C{{adset.id}}%7C{{ad.id}}
Please stick with one consistent UTM structure, placed in the correct field. Only then can we ensure consistent and accurate campaign / ad set / ad performance tracking in the Molecule Data dashboard.
IMPORTANT:
If you already use a UTM template in all of your ads and the {{ad.id}} value is present in any of the UTM parameter fields, we can map it automatically in the reporting, so no changes are needed. Please contact our support team if you have any questions.
Last updated