You can add the Obsidesk script to a Shopify theme to track storefront visitors, sources, UTM campaigns and email signups. Shopify orders and revenue are not synced, so use this for traffic only, not for MRR or revenue attribution.
What you get
- Storefront visitors, pages and referrers
- UTM campaign and channel breakdown
- Signups from forms with an email field
- Cookieless tracking
- A cheap second view of traffic next to Shopify's own reports
Set it up
- 1Create your account and add your domain
Sign up, add the domain you want to track and copy your site ID from Settings. Every plan has a 14-day money-back guarantee; there is no free trial.
- 2Open your theme code
In Shopify admin go to Online Store, Themes, and edit code for your live theme. Duplicate the theme first as a backup.
- 3Paste in theme.liquid
Open
layout/theme.liquidand add this before</head>.<script defer src="https://obsidesk.com/script.js" data-site="YOUR_SITE_ID"></script>
- 4Save and check
Open your site in a normal browser window and check that the visit appears in the live view. Visits on localhost are not counted unless you add
data-allow-localhost, and your own visits can be excluded by opening#obsidesk-ignoreonce.
What this does not cover
Obsidesk does not read Shopify orders or customers, so sales are not shown and there is no revenue attribution for Shopify sales. If you sell a SaaS and also run a storefront, connect Stripe for the SaaS revenue and use the script for storefront traffic.
Checkout pages
Shopify controls checkout pages on most plans, so the script may not run there. That is expected.
FAQ
Can I track Shopify sales with Obsidesk?
No. Shopify orders are not synced. You can track storefront traffic and sources.
How do I add the script to Shopify?
Paste it before </head> in layout/theme.liquid and save.
Is Obsidesk a Shopify analytics replacement?
No. It is built for SaaS and digital products. For store revenue, use Shopify's own reports.
Works with
Connect Shopify in about a minute.
14-day money-back guarantee. Installed in 30 seconds. Read-only revenue connections.