View Categories

UTM CAMPAIGN VALUE FOR FB LEADS IS COMING AS NUMBER.

2 min read

Issue: The UTM campaign lead field value is coming ad number when the leads are flowing through FB lead Ads Connector.

Possible Resolution:
One of the reasons for the UTM campaign value to be a number can be multiple mapping of the same field on the Form. PFB:



From the above screenshot, you can see that the UTM Campaign(LSQ Field) is mapped with Campaign ID and Campaign Name(FB form field).

Since the backend lead creation via FB connector functions through lead capture API, whichever value the API will get first, will fetch that value on the field. PFB a sample payload for a lead creation where the UTM campaign value was a number:

[{“Attribute”:”mx_Designation”,”Value”:”school_owner”},{“Attribute”:”FirstName”,”Value”:”Swift International School”},{“Attribute”:”Phone”,”Value”:””},{“Attribute”:”mx_Institute_POC_Name”,”Value”:”Lokesh Pathak”},{“Attribute”:”mx_Lead_Gen_ID_FB_Lead_ads”,”Value”:””},{“Attribute”:”mx_utm_content”,”Value”:”ad_feemanagement_t15_ERP_4F_Listicle_3_19Aug”},{“Attribute”:”SourceMedium”,”Value”:”tfi_fb_ql_all_leadgen_new_criteria_june2023_cam24_v1_ERP”},
{“Attribute”:”SourceCampaign”,”Value”:”238″},{“Attribute”:”SourceCampaign”,”Value”:”tfi_fb”},
{“Attribute”:”mx_Whatsapp_Reactivation”,”Value”:”1323,{“Attribute”:”mx_Lead_Source”,”Value”:”fb”},{“Attribute”:”SearchBy”,”Value”:””},{“Attribute”:”Source”,”Value”:”FB Lead Ads”},{“Attribute”:”Origin”,”Value”:”Lead Ads”}]

From the above payload, you can see that the SourceCampaign value is sent twice due to multiple mapping and since the number value(Campaign ID) was passed prior to the campaign name, the value fetched in the lead field was a number.

Note: It is recommended to make unique field mapping in LSQ with respect to each FB field to avoid such discrepancies. You can update the mapping by following the below steps:

1. Under App-> Click on FB Lead Ads:



2. Under Led gen forms, select the account and the page and search for the form where you are seeing the UTM campaign as a number.

Note: You can find the form name via which the submission was made by opening the Facebook Lead Ads submission activity of the lead:




3. Under this page goto step 2 which is Marketing Field mapping and update the required mapping and click on save.




Scroll to Top