Server-side tracking for Salesforce Commerce Cloud
ROASaurus reads placed orders from Salesforce B2C Commerce through the Orders Admin API and sends them to your ad platforms from the server.
| Salesforce Commerce Cloud at a glance | |
|---|---|
| Orders arrive by | Orders API polling every 5 minutes |
| Credentials | Account Manager API client with the sfcc.orders scope |
| Paid orders | Placed orders (new, completed); optionally only those marked paid |
| Thank-you snippet | Order confirmation template, using the order number |
How Commerce Cloud connects
- Add the ROASaurus script to your storefront's page head and the thank-you snippet to the order confirmation template.
- In Account Manager, create an API client with the Salesforce Commerce API role and the
sfcc.ordersscope. - Enter the short code, organization ID, site ID and the client's credentials in ROASaurus.
Why polling and not webhooks
B2C Commerce has no outbound order webhooks. ROASaurus fetches orders changed since its last run, every 5 minutes, with a 30-minute overlap. Duplicates are ignored.
What ROASaurus reads from each order
The order number, total and currency, the customer's email and number, the billing name, phone and address, and each product's id, quantity and price.
Limits
- The payment status is often left unset by payment cartridges, so ROASaurus counts every placed order unless you choose paid orders only.
- The connector is built from the platform's official API documentation. Press Test connection after saving your credentials, then place a test order and check the Event log.
Related
Questions, answered
Does it use OCAPI?
No. ROASaurus uses the B2C Commerce API (SCAPI) Orders endpoint, which needs an API client made for that API.
How fast do orders arrive?
Within 5 minutes. "Fetch orders now" on the Connection page syncs on demand.
Every sale, traced to the ad that earned it
Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.
Start free →