Getting started

Find your tracking script and store key

Updated

Open Connections › Tracking & destinations and scroll to Install. The script tag is there; the store key is the k= part of its address. On Shopify you turn on the theme app embed instead.

Steps

  1. Open Tracking & destinations

    Select the store, then Connections › Tracking & destinations. From Getting started, Show the script opens the same section.

  2. Copy the script tag

    Under Install you find a tag like <script src="https://app.roasaurus.com/s.js?k=YOUR_STORE_KEY" async></script>. Paste it before </head> on every page, or use your platform's field for header scripts. On Shopify, click Open theme editor and switch on the ROASaurus app embed instead.

    You should see: The tag with your own store key filled in.

  3. Check it runs

    Open your store with ?roasaurus=connected at the end of the address.

    You should see: A browser message "ROASaurus is connected." Getting started then shows First event received.

Where else you need the store key

  • The WooCommerce plugin (endpoint, store key and Orders API key).
  • The headless module for Hydrogen (createRoasaurus({storeKey})), shown on Setup › Shopify.
  • Funnel pages on another domain that should share the visitor.

The store key is public: it identifies the store but grants no access. API keys for the orders API are separate, under Settings › Orders API, and are secret.

Common problems

No message with ?roasaurus=connected
The script is not on the page: check that you saved the theme or header field and cleared any page cache. With a consent banner in strict mode, accept the cookies first.
The script is on the page but no events arrive
A Content Security Policy may block it. Allow https://app.roasaurus.com for scripts and connections.

Next step

Back to the first steps

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.