Store connections
Changing or updating your Shopify theme
App embeds are switched on per theme. When you publish another theme, or a theme update arrives as a new copy, switch on ROASaurus under App embeds in that theme and save. Your settings and data in ROASaurus stay as they are.
Before you start
- Shopify access to Online Store › Themes.
Steps
Open the theme you will publish
Shopify admin › Online Store › Themes, click Customize on the new theme (before or after you publish it).
Switch on the app embed
In the left sidebar open App embeds, switch on ROASaurus and click Save. Its one setting, Tracking endpoint, can stay as it is.
You should see: ROASaurus switched on in the list of app embeds.
Check tracking
Publish the theme, open the store with
?roasaurus=connected, and look at the app's Setup status in Shopify (Apps › ROASaurus).You should see: "ROASaurus is connected." and the theme app embed status On; storefront events count up as visitors browse.
Check Buy it now and old code
If the new theme turns on dynamic checkout buttons, turn them off again so Add to cart is tracked. If you pasted the ROASaurus script into the old theme's
theme.liquidby hand, paste it into the new theme too, or rely on the app embed only.
Why a theme change matters
The ROASaurus app embed is a theme setting, like your logo or colours: each theme keeps its own list of app embeds. A duplicated theme copies the setting; a theme freshly installed from the Theme Store, or a major update that Shopify installs as a new copy, starts with every app embed off. Your theme's version number does not matter: the embed works the same on every Online Store 2.0 and vintage theme.
Nothing else changes: orders keep coming from Shopify's order webhooks and the checkout pixel lives outside the theme, so purchases are recorded throughout. What is lost while the embed is off are page views, product views, adds to cart and the ad click ids of new visitors.
Common problems
No events after the switch
Alert "No tracking events for more than 6 hours"
Next step
Back to the Shopify setupStill stuck? Email us.