How can I optimise my Meta campaigns with my Eulerian attribution model (Custom Attribution)?
Meta optimises your campaigns on the conversions its own attribution claims, even when your attribution model gives the credit for a sale to another channel. The Meta CAS connector (Custom Attribution Source) closes that gap: it sends Meta the share of credit that your Eulerian attribution model gives to each Meta ad for a purchase.
Meta uses this data to train a Custom Attribution Source, then lets you create campaigns that optimise on your attribution model instead of Meta’s default attribution.
With the Meta CAS connector:
- campaign delivery is based on the conversions your attribution model gives to Meta, not on the conversions Meta claims for itself;
- the conversions and values Meta reports for these campaigns are consistent with your Eulerian attribution reports;
- one attribution model is used both to analyse your media mix and to steer the delivery of your Meta ads.
For example: a purchase follows a Meta ad click and then a paid search click. If your model gives 40% of the credit to Meta, Eulerian sends Meta 40% of the purchase value for that ad, and Meta optimises on that value.
What the connector does:
- it attributes every conversion multi-touch, with the attribution model of your choice;
- it creates the Custom Attribution Source in your Meta dataset automatically;
- it sends the data server-side, through Meta’s Conversions API (CAPI);
- it calculates the credit share and value of each Meta ad, on clicks and, optionally, post-impressions.
Note
The Meta CAS connector does not replace the Meta CAPI connector: it adds attribution data to the purchases Meta has already received. Your web purchases must therefore already be sent to Meta as
Purchaseevents, through the Meta pixel or the Meta CAPI connector.
Prerequisites
- An Eulerian user account with “Administrator/Webmaster” rights.
- A Meta user account with access to the business that owns your dataset. When you log in, you authorise Eulerian to manage your ads, read your ads data and manage your business (
ads_management,ads_readandbusiness_managementpermissions). - A Meta dataset that receives all your
Purchaseevents. Check it in Events Manager > your dataset > Overview. Meta refuses to create a Custom Attribution Source on a dataset without purchase events, or on a dataset already used by another attribution partner. - Your Meta campaigns tracked in Eulerian with the raw Meta ad ID in the creative (
esc-creative={{ad.id}}): see How to track a campaign on Meta Ads? - An attribution model declared in Eulerian Marketing Platform.
- To take post-impression touchpoints into account: an active Meta MTA connector on the same website.
A Meta touchpoint whose creative is not a Meta ad ID (digits only) cannot be sent to Meta.
Setting up Custom Attribution
1. Create the connector in the interface
Open Activation > Partner > Add new connector > META CAS and fill in:
| Field | What to enter |
|---|---|
| Connector Name | Free entry. |
| Authentication | Log in to Meta to authorise Eulerian. The access token is generated automatically. |
| Business | The Meta business that owns your dataset. |
| ID of the target dataset used by CAPI | The ID of the dataset that receives your purchases through the Conversions API. It must belong to the selected business. |
| Dataset Name | The name of this dataset. |
| Select ALL publishers related to META | Every publisher used in your Meta tracking links (for example esc-publisher=meta). Only the touchpoints of these publishers are sent to Meta. |
| Attribution model | The Eulerian attribution model whose credit is sent to Meta, chosen from the models declared in your platform. |
| Choose the attribution model defined by META | The type of model declared to Meta for the Custom Attribution Source. Default: CUSTOMIZED_MULTI_TOUCH. |
| Attribution Window | The number of days before the purchase during which a Meta touchpoint is taken into account, from 1 to 999. Default: 7. |
| Include the valuation of deterministic post-impression touchpoints | N by default: only clicks are sent. With Y, post-impression touchpoints are sent too; this requires an active Meta MTA connector on the website. |
2. Save the connector
When you save the connector, Eulerian checks that the dataset belongs to the selected business, then creates the Custom Attribution Source in this dataset, named Eulerian / <grid> (<website ID>) / Transactions CAS. If a Custom Attribution Source created by Eulerian already exists on this dataset, its model and attribution window are updated with the connector settings.
You will find it in Meta Events Manager > your dataset.
How the connector works
Every day, the connector processes the previous day’s orders, in your website’s time zone:
- It keeps, in the selected attribution model, the orders with at least one touchpoint of a selected publisher within the attribution window.
- For each of these touchpoints, it reads the Meta ad ID in the creative and the credit share given by your attribution model.
- It sends one attribution event per touchpoint to your Meta dataset.
An event is only sent when the buyer’s IP address and browser user agent are known. Events that fail are sent again, up to three attempts.
What information is sent to Meta
For each Meta touchpoint that receives credit for a purchase, Eulerian sends an AppendAttribution event with:
- the event ID: the order reference followed by the number of the touchpoint in the purchase (
<order reference>-0,<order reference>-1…), so each touchpoint is a separate event; - the original purchase: the event name
Purchase, the purchase time and the order reference, so that Meta can link the attribution to the purchase it received; - the URL of the last page of the order;
- the touchpoint: the Meta ad ID and the touchpoint time;
- the credit share given to the touchpoint by your attribution model, and the credited value (the purchase amount multiplied by the credit share);
- the name of the Meta attribution model;
- the currency;
- the buyer’s IP address and browser user agent, not hashed;
- the buyer’s hashed email and hashed phone number, if they are configured in your Eulerian platform;
- the buyer’s hashed CRM ID, if the buyer is logged in.
The hashed email, phone number and CRM ID are sent automatically when they are available, and improve the quality of your events in Meta. Email addresses are trimmed and converted to lower case, phone numbers are reduced to their digits without leading zeros, then both are hashed in SHA-256. Values already hashed in SHA-256 are sent as is.
How long before I can use it
Meta only accepts attribution events received within 48 hours of the original purchase: later events are classified as low quality.
After the first events are sent, the Custom Attribution Source goes through these stages in Events Manager:
- Pending: the source is created and waits for its first events, which appear within 24 hours of the first send.
- In Training: Meta trains its model on your attribution data for up to 14 days from the first high-quality event. Meta sends an email to the person who created the source when training is complete.
- Setup Complete: training is complete, but you cannot create campaigns yet. A Meta representative contacts you when your account is eligible.
- Ready to Use: you can create campaigns that optimise on your Custom Attribution Source.
If the source shows a Quality Issue, open its Diagnostics tab in Events Manager: the most common causes are a low volume of events and missing required parameters. Contact our support team if the issue comes from the data sent by Eulerian.
Checking the data
Wait at least 72 hours after the first events are sent, then:
- In Events Manager, check that the quality indicator of your Custom Attribution Source is “High”.
- Select a date range and click Export Data. The file gives the attributed value and share by campaign, ad set and day.
- Compare the totals with the Meta figures in your Eulerian attribution report for the same attribution model and period. A difference of 0 to 5% is normal; above 5%, contact our support team.
Can I test several attribution models
Yes, with one dataset per model. Eulerian creates one Custom Attribution Source per dataset: two connectors on the same dataset would overwrite each other’s model. Create one Meta CAS connector per model, each with its own dataset.