TapCub is live — analytics, insights and live chat, free on one platform

Shopify integration TapCub analytics and chat for Shopify

Paste one script into your theme to track every storefront page and turn on live chat. Learn which checkout pages a theme script can and cannot see, and how to record exact orders.

  • Works with any theme
  • Bots counted separately
  • Server API for exact orders
Install

Add the script to your theme

The snippet goes into the published theme once, and covers every storefront page.

  1. 1

    Copy the snippet

    From Web analytics → Configuration → SDK code; it already contains your site key.

  2. 2

    Open the theme code

    In Shopify admin: Online Store → Themes → the ⋯ menu next to your current theme → Edit code.

  3. 3

    Paste before </head>

    Open layout/theme.liquid and add the snippet just before the closing head tag.

  4. 4

    Register both domains

    Add your myshopify.com domain and your custom domain on the SDK code page.

index.html

<script defer src="https://static.pathclue.com/client.js" data-site="YOUR_SITE_KEY"></script>

Copy the version with your real site key from Web analytics → Configuration → SDK code.

Shopify’s hosted checkout does not run theme scripts, so checkout and thank-you pages are not tracked by this tag. Send order events from the server API for exact revenue. Switching themes means re-adding the snippet to the new theme.
What you get

Storefront reports, plus exact revenue

The theme tag covers browsing; the server API covers the money.

Storefront traffic

Sources, pages and realtime visitors, humans separated from bots.

Orders from the server

Theme scripts miss the hosted checkout; a server-side order event records paid orders exactly.

Live chat on product pages

Same tag, one switch — answer shoppers with their journey in view.

Cookieless by default

Analytics needs no consent banner; chat sets a functional cookie only after a visitor opens it.

FAQ

Shopify questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

Where does the snippet go in Shopify?

In layout/theme.liquid, just before </head>, so every storefront page loads it. Full steps in the Shopify guide.

Why is my checkout not tracked?

Shopify hosts the checkout on its own pages that do not run theme scripts. Record purchases with a server-side order event instead; it is also immune to ad blockers.

Do I lose tracking when I change themes?

Yes — the snippet lives in the theme, so re-add it to the new theme (or duplicate the current one first). Realtime confirms it within seconds.

Which domains do I register?

Both the myshopify.com domain and your custom domain, on the SDK code page. Hits from an unregistered host are dropped.

Is there a Shopify app?

You can paste the script directly — no app needed. The same script also turns on live chat.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics