Send conversions to Meta and Google Ads
Send the events your server signs to a Meta dataset and a Google Ads conversion action, within a value limit and a daily limit.
Once your server sends signed events (Set up tracking), Adrails can pass them on to Meta's Conversions API and to Google Ads. Their bidding then learns from sales their own pixel or tag missed.
Only events signed with the server key are sent. Events from the script on your pages stay in Adrails, whatever the settings below.
Send to Meta
- In the tracking settings, go to Send to Meta.
- Choose the Ad account, then the Dataset (your pixel) the events go to.
- Choose Save changes.
Each signed event is sent to Meta right after it is recorded, unless a limit holds it back. Adrails sends:
- the event name, using Meta's standard name where there is one (
purchasebecomes Purchase,leadbecomes Lead,signupbecomes CompleteRegistration; the full list is in the reference), event_id, so Meta can match it with the same event from your pixel and count it once,- the time,
action_source, andlanding_urlas the event's source URL, valueandcurrency,fbcandfbp, and the customer'sip_addressanduser_agentwhen your server passes them (never those of the request itself, which are your server's),- the customer's email, external id and phone, hashed with SHA-256.
Send to Google Ads
Google Ads
- In the tracking settings, go to Send to Google Ads and choose the Ad account.
- Choose the Event Google counts: Purchase, Lead, Sign-up, Subscription or Trial started.
- Choose the Conversion action that receives it. To make a new one, choose Create "Adrails purchases" in Google Ads; the name follows the event you chose.
- Choose Save changes.
A conversion goes to Google only when it is signed, carries a gclid, and has the event name you chose. Adrails sends them in batches once an hour, and waits until an event is at least 6 hours old, because Google refuses a click it has not processed yet. event_id is sent as the order id.
When you set up Google after the tracker was already running, the signed conversions of the last 7 days are sent too.
A Google Ads connection made before Adrails could send conversions cannot send them. The tracking settings page says so; connect Google Ads again from Ad accounts to allow it. Until then, conversions wait.
Send your Shopify sales
With a Shopify store connected, the tracking settings also list, store by store, whether Meta and Google Ads receive its sales.
Meta is turned on by Adrails itself, with no click, as soon as it can do so safely: once the store is connected with the Adrails pixel, and a Meta ad account is connected, the store's sales go from then on, through the Conversions API, to the dataset your live ads optimize on most, or to your only dataset when you have one Meta ad account with one dataset. Adrails tries again when you connect the store or Meta, and after your ads are read. It does nothing:
- when Meta already receives the store's sales through another app, such as Shopify's Facebook & Instagram app, so no sale counts twice; the row then says so;
- when you have several Meta ad accounts or several datasets and no live ad points to one: the Meta row lets you choose the dataset;
- once you turned Meta off for that store: Adrails never turns it back on.
To turn it on yourself, Send with Adrails on the Meta row sends the store's sales to your Meta dataset from now on. Turn off stops it.
Google Ads is never turned on by itself. Turn on, on the Google Ads row, adds a secondary purchase conversion action, Adrails - Shopify purchases, to the Google Ads account if it has none, and sends the store's sales to it from now on. Only an owner or administrator can click these buttons, and each one says what its click does.
Only orders placed after a platform is turned on are sent.
Limits
Two limits per tracking source protect the ad platforms against a leaked server key or a broken integration. Signed events past them are still recorded in Adrails, and held back from Meta and Google Ads.
| Limit | Default | Accepted range | Counted |
|---|---|---|---|
| Largest value per event | 100,000 | above 0, up to 1,000,000,000 | In the currency your site sends |
| Events per day, per platform | 5,000 | 1 to 100,000 | From midnight UTC, for Meta and for Google Ads each |
An event whose value is above the limit is held back whole, not lowered to the limit. A value above it most often means cents sent as units, and a lowered value would still be an amount nobody paid.
Read what was sent
The tracking settings page shows, for each platform over the last 30 days:
- Sent, Waiting and Refused events;
- how many events from the script on your pages stayed in Adrails;
- how many signed events the limits held back;
- for Google Ads, the last problem Google reported.
Google accepts a batch at once and checks each conversion afterwards. Its verdict comes back on a later run and is shown as the last problem when it refused some.
Watch for
- Only owners and administrators can change these settings.
- Saving the Google settings sorts again what waits: signed conversions of the last 7 days that match the chosen event are queued again, and anything else waiting for the previous setup is dropped.
- Sample data cannot receive conversions: only real ad accounts are listed.
- Removing tracking does not remove what Meta and Google Ads already received.