Getting started
Which events ROASaurus tracks
The storefront script records page views, product views, adds to cart, started checkouts and form sign-ups. Purchases and refunds come from your shop platform's order data and are sent from the server.
Steps
Turn on debug logging
Open your store with
?roasaurus=debugat the end of the address and open the browser console.You should see: Lines starting with
[roasaurus]for each event as you browse, add to cart and start a checkout.Check what arrived
In ROASaurus, open Data quality › Deliveries for the server events per platform, or Website › Realtime for the events of the last minutes.
The events
| Event | When | Source |
|---|---|---|
| PageView | Every page load | Browser script, server copy |
| ViewContent | A product page | Browser script, server copy |
| AddToCart | A product added to the cart, with the added quantity | Browser script, server copy |
| InitiateCheckout | Checkout started (on Shopify from the checkout pixel) | Browser and checkout pixel |
| Lead | A form sent with an email address or phone number, such as a newsletter or contact form (search and password forms never; add data-roasaurus-ignore to a form to skip it) | Browser script, server copy |
| Purchase | A paid order (on cash on delivery and external checkouts: when the order is created) | Server, from the order |
| Refund | A refund in your shop | Server, to the destinations that take refunds |
Each platform receives these under its own names: on Google Analytics 4 a purchase is purchase, on TikTok a purchase is CompletePayment. The ROASaurus script also samples Core Web Vitals on a tenth of page views for the Storefront speed report, and those samples go to no ad platform.
Your own events
On any page with the script you can send another event with tlq('track', 'Lead', {value: 50, currency: 'EUR'}), or link a sign-up to the visit with tlq('identify', {email}), with consent.
Common problems
Add to cart is missing for some orders
No Purchase in the browser on WooCommerce
Next step
Install the tracking scriptStill stuck? Email us.