Facebook Online Conversions
This integration is in beta
As with all beta tests, not everything will be perfect. If you run into any issues, please submit a support ticket.
Lexer helps retailers measure how their Facebook ads lead to website purchases by integrating with Facebook's Conversions API (CAPI). This server-side integration focuses specifically on tracking purchase events, both online and offline, though this article covers only online conversions. For tracking in-store purchases, please see our separate article on offline conversions.
How does it work?
Facebook online conversions help you measure how your Meta ads lead to purchases on your website. By using Meta's Conversions API through Lexer, you can reliably track and attribute online purchases to your ad campaigns, even with browser privacy restrictions.
Key benefits:
- Track online purchase activity and attribute it to your Facebook ads
- Measure the digital return on your ad spend
- Create audiences based on online behaviors:
- Target people based on their website purchase history
- Create Lookalike Audiences similar to your online customers
- Improve ad delivery across Meta technologies
- Server-side tracking provides more reliable data than browser-based pixel tracking alone
Here's an overview of the process, and where Lexer fits in:
- A customer views an ad on Facebook/Instagram
- The customer clicks through and makes a purchase on your website
- Lexer receives this web purchase data and enriches it against the customer's profile
- Lexer sends the enriched purchase data directly to Facebook via the Conversions API
- Facebook matches this server-side data to the customer's digital persona to attribute the conversion
Using Lexer's server-side integration with Meta's Conversions API ensures your purchase tracking remains reliable even as browser privacy features become more restrictive. This provides a more accurate view of your digital advertising performance compared to using Meta pixel alone.
Note: While Meta's pixel tracks multiple website events (like page views and add-to-carts), Lexer specifically focuses on tracking successful purchase conversions to help you measure direct revenue impact from your Meta advertising.
Summary
Here's a summary of how Lexer integrates with Facebook Conversions:
Direction
What direction does the data flow?
⬜️ Data source: None
✅ Data destination: Purchase events are sent to Facebook as conversions
Type
Lexer loads these types of data
✅ Purchases
Source method
How Lexer loads data from this source.
N/A
Destination method
How Lexer sends data to this source.
✅ API
Status
What is the status of the integration?
Full Release
Lexer product compatibility
What Lexer products is the integration compatible with?
✅ Activate
Attributes
No attributes will be created as part of this integration.
Attributes
This integration allows for some flexibility, the output of the integration depends on your available data and what you send through to Lexer. In addition, your attributes could be named in a different way to other clients. If you would like a list of attributes related to this integration, please email your Success Manager.
Attributes
What attributes are created when integrated with Lexer?
Attributes
These are the standard attributes Lexer can create when you connect this integration, however, this will depend on the data available and what you're sending through to Lexer. Also note, your attributes may be named differently.
If you have any questions, or would like to discuss any custom options, please reach out to your Success Manager.
Personal identification attributes
Email event attributes
SMS event attributes
Transactional attributes
Product attributes
Connect your Facebook Business account with Lexer
To begin the online conversions integration, connect your Facebook Business account to Lexer:
- Navigate to Manage > Integrations in your Lexer Hub
- Locate and select Facebook Business
- Click Integrate Facebook Ads
- When prompted, log in with your Facebook Business account credentials
- Upon successful authentication, you'll see your Facebook account listed in the integration panel
Create a new Meta Dataset
To set up offline conversions, you'll first need to create a new dataset in Meta Events Manager:
- From Meta Events Manager, click Connect data to begin creating a new dataset.
- From the connection options, select Web as your dataset type. This is for tracking offline activities like in-store purchases.
- Click Create new dataset and give it a meaningful name (e.g., "Lexer - Web Sales"). This helps identify the purpose of your offline conversion tracking.
- When asked about setup guidance, select Do it yourself since we'll be configuring this manually.
- For the connection method, choose Conversions API and Meta pixel (recommended). This provides the most reliable tracking of conversions.
- In the Conversions API setup screen, select Set up manually. This gives us full control over the implementation.
- Review the implementation overview, which outlines three key steps:
- Creating personalized instructions
- Implementing the API
- Monitoring event metrics
- In the event selection screen, select Purchase as your event type. This is the only event type we'll be tracking.
- Leave the event parameters set to the defaults.
- Review your setup configuration, confirming your selected:
- Event detail parameters
- Customer information parameters
- At the instructions screen, you can either:
- Send implementation instructions to a developer
- Follow the manual implementation guide yourself
- Once configured, you'll return to the overview screen. Click Settings and copy your Dataset ID (we need to add this to Lexer).
- In Settings, scroll down to the "Turn on automatic advanced matching" section and enable the toggle for "Automatic website matching"
This dataset will be used to receive your offline conversion data from Lexer. You can read more about this process here.
Connect your Dataset with Lexer
Once you have created your dataset in Meta, you can link it to Lexer to start sending offline conversion data. You'll need your Dataset ID to complete this step.
- Enter a name for your activation
- Select your Lexer dataset containing online purchase data
- Enter your Meta Dataset ID
- Enable Limited Data Use (LDU) for CCPA compliance (required)
- Enable 'Run this activation daily'
- Save your configuration
Your activation will begin running in the next 24 hours and will continue to run once a day. After the first activation completes, your data will start appearing in Facebook.
Review your Conversion Events in Meta
After connecting Lexer with your Meta offline conversions, you'll want to verify that your purchase events are being received correctly. Here's how to check your conversion events in Meta:
- Go to Meta Events Manager and locate your dataset:
- Click on Data Sources in the left navigation
- Find and select the dataset you configured for Lexer
- View your Purchase events:
- In the dataset Overview tab
- Scroll down to the Events table
- Locate and click on the Purchase event type
- Monitor your event activity:
- You'll see a graph showing event volume over time
- The timeline shows how many purchase events were received each day
- Note that events can take up to 30 minutes to appear
- Analyze event details:
- Click View Details for more comprehensive information
- Check event match quality to ensure proper customer matching
- Review parameters being received with each event

This view helps you confirm that Lexer is successfully sending your offline purchase data to Meta and allows you to monitor the ongoing health of your integration.
California Consumer Privacy Act (CCPA)
Meta requires all users of online conversions to comply with the California Consumer Privacy Act (CCPA). This means you must enable Limited Data Use (LDU) when sending offline conversion data.
When you enable LDU in Lexer:
- Meta processes California residents' data with limited data processing
- Meta helps ensure your compliance with CCPA requirements
- Meta restricts how California residents' data can be used
Important: Disabling LDU indicates that none of your customers are California residents. Incorrectly identifying California residents' data can result in legal consequences under California law.
For more information:
- Read Meta's documentation about CCPA compliance
- Review Meta's error codes for specific compliance issues
- Contact your Lexer Success team with any questions
Next Steps
You've now set up online conversion tracking between Lexer and Meta. This integration enables you to track how your Facebook ads drive website purchases, measure digital return on ad spend with server-side reliability, create audiences based on verified online purchase behavior, and maintain accurate conversion tracking despite browser privacy changes.
To ensure your integration continues working effectively, it's important to regularly monitor your conversion tracking. Check your Event Match Quality in Meta Events Manager, verify that purchase events are being received correctly, and review conversion attribution in your Meta ad reporting. While browser-based tracking through Meta pixel can be affected by ad blockers and privacy settings, Lexer's server-side integration ensures your purchase conversion data remains reliable and accurate.
If you need assistance at any time, you can contact Lexer Support via the chat bot in your browser. You may also find it helpful to review Meta's documentation for the Conversions API and check their best practices for event matching and optimization.