Hi @vincent1013
Hi! To make sure your parameters (like utm_campaign={{campaign.name}}
and ID=123456
) from Facebook Ads persist from the ad → Messenger → landing page, here’s a way to handle it in ManyChat:
-
Use the Facebook Ads Trigger to start your flow when someone clicks your ad (Name it as the add if you want)
-
Inside the flow, create Custom User Fields (CUFs) like utm_campaign
or ad_id
, and set their values acording to the source.
-
When sending users to your landing page, use a dynamic URL like:
https://yourdomain.com?utm_campaign={{utm_campaign}}&id={{ad_id}}
This will ensure the parameters travel with the user all the way through.
For multiple ads, you can duplicate the flow and adjust the stored values or tags per campaign.
This setup keeps your tracking clean and lets you attribute conversions properly across platforms
Hope this helps, cata R
Thank you so much! Do I need to create a messenger ref URL in my manychat automation and should I set the url tracking params in facebook ads manager simply as
utm_source=facebook&utm_medium=social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&account=123&adgroupname={{adset.name}}&publisher={{placement}}&channel={{site_source_name}}&campaignid={{campaign.id}}&adgroupid={{adset.id}}&adid={{ad.id}}&afid=456
or
https://m.me/710732685447686?ref=tracking%26utm_source%3Dfacebook%26utm_medium%3Dsocial%26utm_campaign%3D%7B%7Bcampaign.name%7D%7D%26utm_content%3D%7B%7Bad.name%7D%7D%26account%3D123%26adgroupname%3D%7B%7Badset.name%7D%7D%26publisher%3D%7B%7Bplacement%7D%7D%26channel%3D%7B%7Bsite_source_name%7D%7D%26campaignid%3D%7B%7Bcampaign.id%7D%7D%26adgroupid%3D%7B%7Badset.id%7D%7D%26adid%3D%7B%7Bad.id%7D%7D%26afid%3D456
Also for step 2, would you mind explaining where I can set the values after I create the CUFs? Do I still need to do that if all of the values are going to be dynamic based on the customer such as utm_campaign @cata_rendon