GuidesWeb

BigCommerce analytics, cookieless and EU-hosted

Paste one snippet into Script Manager and your store starts counting visitors.

Privytics adds page-view and event analytics to any BigCommerce store through one snippet you paste into Script Manager. There is no coding and no plugin to install. Most stores track visitors with GA4, which needs a cookie consent banner for EU shoppers. Privytics is cookieless and EU-hosted, so you paste two tags and anonymous visitors need no consent banner.

Why BigCommerce teams use Privytics

Nothing is saved on your shopper's device

The snippet sets no cookies and stores no identifier in the browser. Visitors are counted with an anonymous id that resets every day, so for the anonymous case there is nothing to consent to.

Works on every BigCommerce plan

Script Manager injects into your storefront head on all plans, with no checkout-script gating. You are not blocked by a paywall or a higher tier, so nobody gets stuck.

Your data is stored in the EU

Every event is stored in EU data centres in Germany. You remain the data controller, which keeps EU privacy rules simple.

No coding, ever

You paste one snippet into a box and click Save. No plugin, no theme edits, no developer. Page views start arriving on their own.

Set it up

About five minutes, on the free plan, without a credit card.

  1. Open Script Manager in BigCommerce

    In your BigCommerce control panel, go to Storefront, then Script Manager, then click Create a Script. Give it a name like Privytics, set Location to Head, set Pages to All pages, set Select pages where to All pages, set Script category to Analytics, and set Script type to Script. This is available on every plan, so there is nothing to upgrade.

    Storefront > Script Manager > Create a Script
    
    Name: Privytics
    Location: Head
    Pages: All pages
    Select pages where: All pages
    Script category: Analytics
    Script type: Script
  2. Paste your Privytics snippet and save

    Paste the two tags below into the Script contents box, then replace YOUR_CLIENT_ID with your own Privytics client id. Click Save. If your store shows a cached page, a moment or a hard refresh may be needed before you see the change.

    <script>
      window.op=window.op||function(){var n=[];return new Proxy(function(){arguments.length&&n.push([].slice.call(arguments))},{get:function(t,r){return"q"===r?n:function(){n.push([r].concat([].slice.call(arguments)))}} ,has:function(t,r){return"q"===r}}) }();
      window.op('init', {
        apiUrl: 'https://api.privytics.com',
        clientId: 'YOUR_CLIENT_ID',
        trackScreenViews: true,
        trackOutgoingLinks: true,
      });
    </script>
    <script src="https://privytics.com/op1.js" defer async></script>
  3. Check that it is working

    Open your live store and click through a few pages. Page views are tracked automatically, so you do not have to set anything else up. Open Privytics and watch the Realtime view: your visits should appear within a few seconds. This automatic page-view tracking is the main value and it is now on for your whole store.

    1. Open your storefront and click a few pages.
    2. Open Privytics and go to Realtime.
    3. Watch your visits appear.
  4. Track a button click (optional)

    Page views are already working, so this step is only if you also want to count a specific action, like an Add to Cart click. Create a second script the same way (Storefront > Script Manager > Create a Script, Location Head), and paste the snippet below. Change 'add_to_cart' to any name you like, and change the button text in quotes to match your button. Save. If you skip this step, your page-view install is still complete.

    <script>
      document.addEventListener('click', function (e) {
        var el = e.target.closest('button, a');
        if (el && el.textContent.trim() === 'Add to Cart') {
          window.op('track', 'add_to_cart');
        }
      });
    </script>

Questions

Do I need a paid plan for this?

No. Privytics is free for 10,000 events per month with no card required. It also works on every BigCommerce plan, because Script Manager injects into the storefront head on all tiers. Paid Privytics plans add session replay and longer data retention.

Do I still need a cookie banner?

Not for Privytics. The snippet writes nothing to the device and sends no cookie, so for the anonymous case there is nothing to consent to. Your BigCommerce default is usually GA4, which does need a consent banner in the EU, while Privytics is cookieless. You remain the data controller.

Where is my data stored?

In the EU. Every event is stored in EU data centres in Germany, on infrastructure running the open-source OpenPanel engine. Nothing is stored on your shopper's device.

Can I track button clicks or events?

Page views are tracked automatically once the snippet is in, and that alone is a complete install. To also count a specific action, add a second small Script Manager script that calls window.op('track', 'your_event_name') when the button is clicked, as shown in the optional step above. Deeper ecommerce tracking, like purchase values, would need a developer.