Skip to main content

install

Analytics for Shopify, in one tag

A 1.2 KB core, no cookies and no stored IP. Replace YOUR_TOKEN with your site token to measure visits and sources, and connect Stripe, Lemon Squeezy, Paddle, or the revenue API to see the revenue behind them.

  1. Copy your site token

    It is in Dashboard → Settings → Install, inside the snippet. Before launch, you get a dashboard once we pick your account for the beta.

  2. Paste the snippet

    Once, in a place every page loads. Replace YOUR_TOKEN with your token.

    Shopifylayout/theme.liquid
    <!-- layout/theme.liquid, just before </head> -->
    <script defer src="https://api.getvero.dev/t.js?s=YOUR_TOKEN"></script>

    In Online Store → Themes → Edit code, open layout/theme.liquid and paste the tag just before </head>. Vero does not read Shopify orders: revenue comes from Stripe, Lemon Squeezy, Paddle or the revenue API.

  3. Deploy and open your site

    Vero counts visits to your domain and its subdomains, so a localhost test never shows up. With the snippet live, open your site in another tab: your dashboard notices the first visit by itself.

Editing theme.liquid in Shopify

In the Shopify admin, open Online Store → Themes → Edit code and pick layout/theme.liquid. That file is the layout your theme's pages render inside, so a tag just before </head> loads wherever the layout does. Make the change on the theme that is live: edits to a theme you have not published do not reach your visitors.

Moving around a Shopify store loads a full page every time, so the core sends each pageview on its own. When you add a Shopify site, Vero finds cdn.shopify.com or Shopify.shop on the home page, shows the Shopify snippet and leaves the SPA module off.

Vero does not read Shopify orders. If you also take payments through Stripe, Lemon Squeezy or Paddle, connect them and that revenue lands next to the traffic that brought it. Sales from anywhere else can reach Vero through the revenue API. And if you sell through Stripe Payment Links or Lemon Squeezy checkout links, the checkout module adds the visit to them, so each of those sales is tied to the visit that clicked.

Troubleshooting

The tag disappeared after I changed themes

The tag lives in that theme's own theme.liquid, so a newly published theme does not carry it over. Open Edit code on the new theme, paste the tag before </head> again, and run Check my site to confirm it finds your token.

My data is not showing up

Frequently asked

Do I need a Shopify app to install Vero?

No. It is one script tag in theme.liquid, and there is no Vero app to install.

Can I track add to cart as an event?

Yes. Call window.vero.track from your theme code, for example when the add to cart button is clicked, and create a goal on that event to get its conversion rate.

IntegrationsPricing

After the tag

Hand-picked beta, waitlist open

Ask for a place in the beta.

Anyone can join the list. The accounts we pick get Pro free for the whole beta.

By joining you agree to receive launch updates and accept our Privacy Policy.

See the demo