- Problem Statement
- Customers may face issues while configuring the Facebook Conversions Connector in LeadSquared, resulting in Meta not receiving conversion or custom event data correctly. These issues are usually caused by incorrect connector setup, missing credentials, improper entity mapping, or formatting errors in automations. This article outlines the correct configuration steps, highlights common issues, and provides solutions to ensure successful data sync with Meta.
- Common Issues Observed
- Pixel ID or Access Token not provided or incorrectly configured. Entity options not enabled or mapped as required. Incorrect sync behavior selected for Lead/Contact or Activity entities. Webhook not copied or used in automations. Automation rules not created correctly or mapped with wrong event data. Formatting errors in custom_data or note fields (extra spaces, line breaks, or incorrect JSON). Lead stage–based events not syncing as expected with Meta.
- Solution / Configuration Steps
- Follow all steps up to pointer 7.1 as mentioned in the official help documentation. This covers the basic installation and initial connector settings. Help article reference: Integrate Facebook Conversions with LeadSquared.
- Ensure the customer shares the following: Pixel ID Access Token These values are mandatory and must be generated from the customer’s Meta account. Use reference screenshots (if available) to guide customers on how to retrieve these details.
- Once authentication is completed, proceed to configure the Entity Options within the connector.
- Enable Lead/Contact Entity. Set Sync Behaviour to Do Nothing.
- Enable Facebook Conversions. Click Edit Mapping and update mapping keys for: lead_id event_name custom_data timestamp Important: Mapping keys must remain unchanged (example: mx_Custom_2). Only the values should be updated as per the required format.
- Enable Activity Entity. Set Sync Behaviour to Capture and click Edit Mapping. In the Default Mapping for Activity pop-up: Click Add Custom and enter: System Field: Meta Activity Activity Type: Chat conversation Activity Fields: Note Required: Disabled Under Actions, click the Tick mark. Click Save & Close.
- Enable Activity Type(s) Definition. Click Create Activity.
- Copy the generated Webhook URL. This webhook will be required while configuring automations.
- A total of three automations must be created: Automation 1: Identifies leads captured via the Facebook Lead Ads Connector. Automation 2: Sends lead data from LeadSquared to the Meta account. Automation 3: Captures custom events (for example, Lead Stage changes) during the lead lifecycle.
- Follow all steps from the help document. Modify only the following fields: Custom_Data {"event_source":"crm","lead_event_source":"LeadSquared"} Note {"event_source":"crm","lead_event_source":"LeadSquared"} Important Guidelines: Do not add spaces or line breaks. Use the format exactly as shown above. The format mentioned in the help article may contain errors—use this corrected version.
- Follow the help documentation exactly. No additional changes are required.
Problem Statement #
Customers may face issues while configuring the Facebook Conversions Connector in LeadSquared, resulting in Meta not receiving conversion or custom event data correctly. These issues are usually caused by incorrect connector setup, missing credentials, improper entity mapping, or formatting errors in automations.
This article outlines the correct configuration steps, highlights common issues, and provides solutions to ensure successful data sync with Meta.
Common Issues Observed #
-
Pixel ID or Access Token not provided or incorrectly configured.
-
Entity options not enabled or mapped as required.
-
Incorrect sync behavior selected for Lead/Contact or Activity entities.
-
Webhook not copied or used in automations.
-
Automation rules not created correctly or mapped with wrong event data.
-
Formatting errors in custom_data or note fields (extra spaces, line breaks, or incorrect JSON).
-
Lead stage–based events not syncing as expected with Meta.
#
Pixel ID or Access Token not provided or incorrectly configured.
Entity options not enabled or mapped as required.
Incorrect sync behavior selected for Lead/Contact or Activity entities.
Webhook not copied or used in automations.
Automation rules not created correctly or mapped with wrong event data.
Formatting errors in custom_data or note fields (extra spaces, line breaks, or incorrect JSON).
Lead stage–based events not syncing as expected with Meta.
Solution / Configuration Steps #
Step 1: Complete Basic Connector Setup #
-
Follow all steps up to pointer 7.1 as mentioned in the official help documentation.
-
This covers the basic installation and initial connector settings.
-
Help article reference: Integrate Facebook Conversions with LeadSquared.
#
Follow all steps up to pointer 7.1 as mentioned in the official help documentation.
This covers the basic installation and initial connector settings.
Help article reference: Integrate Facebook Conversions with LeadSquared.
Step 2: Provide Required Credentials #
Ensure the customer shares the following:
-
Pixel ID
-
Access Token
-
These values are mandatory and must be generated from the customer’s Meta account.
-
Use reference screenshots (if available) to guide customers on how to retrieve these details.
#
Ensure the customer shares the following:
Pixel ID
Access Token
These values are mandatory and must be generated from the customer’s Meta account.
Use reference screenshots (if available) to guide customers on how to retrieve these details.
Step 3: Authentication and Entity Configuration #
-
Once authentication is completed, proceed to configure the Entity Options within the connector.
#
Once authentication is completed, proceed to configure the Entity Options within the connector.
Step 4: Configure Entity Options #
a. Lead/Contact Entity
-
Enable Lead/Contact Entity.
-
Set Sync Behaviour to Do Nothing.
#
Enable Lead/Contact Entity.
Set Sync Behaviour to Do Nothing.
b. Facebook Conversions Entity
-
Enable Facebook Conversions.
Click Edit Mapping and update mapping keys for:
-
lead_id
-
event_name
-
custom_data
-
timestamp
Important:
-
Mapping keys must remain unchanged (example: mx_Custom_2).
-
Only the values should be updated as per the required format.
#
Enable Facebook Conversions.
Click Edit Mapping and update mapping keys for:
lead_idevent_namecustom_datatimestamp
Important:
Mapping keys must remain unchanged (example:
mx_Custom_2).Only the values should be updated as per the required format.
c. Activity Entity
-
Enable Activity Entity.
-
Set Sync Behaviour to Capture and click Edit Mapping.
In the Default Mapping for Activity pop-up:
Click Add Custom and enter:
-
System Field: Meta Activity
-
Activity Type: Chat conversation
-
Activity Fields: Note
-
Required: Disabled
-
Under Actions, click the Tick mark.
-
Click Save & Close.
#
Enable Activity Entity.
Set Sync Behaviour to Capture and click Edit Mapping.
In the Default Mapping for Activity pop-up:
Click Add Custom and enter:
System Field: Meta Activity
Activity Type: Chat conversation
Activity Fields: Note
Required: Disabled
Under Actions, click the Tick mark.
Click Save & Close.
d. Activity Type(s) Definition
-
Enable Activity Type(s) Definition.
-
Click Create Activity.
#
Enable Activity Type(s) Definition.
Click Create Activity.
Step 5: Copy Webhook #
-
Copy the generated Webhook URL.
-
This webhook will be required while configuring automations.
#
Copy the generated Webhook URL.
This webhook will be required while configuring automations.
Step 6: Create Required Automations #
A total of three automations must be created:
Automation 1:
Identifies leads captured via the Facebook Lead Ads Connector.Automation 2:
Sends lead data from LeadSquared to the Meta account.Automation 3:
Captures custom events (for example, Lead Stage changes) during the lead lifecycle.
Step 7: Configure Automation 1 (Important Formatting Update) #
-
Follow all steps from the help document.
-
Modify only the following fields:
Follow all steps from the help document.
Modify only the following fields:
Custom_Data
{"event_source":"crm","lead_event_source":"LeadSquared"}
Note
{"event_source":"crm","lead_event_source":"LeadSquared"}
Important Guidelines:
Do not add spaces or line breaks.
Use the format exactly as shown above.
The format mentioned in the help article may contain errors—use this corrected version.
Step 8: Configure Automation 2 #
-
Follow the help documentation exactly.
-
No additional changes are required.
#
Follow the help documentation exactly.
No additional changes are required.
Step 9: Configure Automation 3 (Custom Event Data) #
-
Follow all steps from the help document.
-
Update only the custom_data and note
Follow all steps from the help document.
Update only the custom_data and note
