🛒

Beam for E-Commerce

Add cookie-free, GDPR-compliant analytics to your online store in under two minutes. Understand your marketing channels, top product pages, and checkout funnel without a cookie consent banner.

Get started free Explore live demo

No credit card required and setup in minutes

Install Beam on E-Commerce

Replace YOUR_SITE_ID with your Beam site ID from the dashboard.

Shopify — add to theme.liquid

<!-- In Online Store > Themes > Edit code > layout/theme.liquid -->
<!-- Paste inside the <head> tag -->
<script
  defer
  src="https://beam-privacy.com/js/beam.js"
  data-site-id="YOUR_SITE_ID">
</script>

All Shopify pages inherit from theme.liquid. Adding Beam here tracks every storefront page including product, collection, and cart pages.

WooCommerce / WordPress

<!-- Paste into Appearance > Theme File Editor > header.php
     or use a header/footer plugin if you don't edit PHP -->
<script
  defer
  src="https://beam-privacy.com/js/beam.js"
  data-site-id="YOUR_SITE_ID">
</script>

Adding Beam to header.php or a header plugin ensures it fires on every WordPress/WooCommerce page.

Track checkout events (optional)

<!-- On your order confirmation / thank-you page -->
<script>
  window.beam.track('purchase', {
    order_value: '49.99',
    currency: 'USD'
  })
</script>

Use window.beam.track() to record purchase completions in Beam Goals. No PII or personal data is sent.

Verify your E-Commerce integration

Use this checklist after publish so you know tracking is actually live in production.

  • Browse two or three product pages in a fresh browser session after installing the snippet.
  • Open your Beam dashboard and select Today — confirm pages like /products/... appear in Top Pages.
  • Check the Channels card to see where this session was attributed (Direct, Organic, Referral).

Why Beam works well for E-Commerce

🍪

No cookie consent banner

Beam uses no cookies and stores no personal data, so EU, UK, and California regulations require no consent popup for analytics alone.

🛒

Compatible with Shopify and WooCommerce

One script in your theme template covers every storefront page with no app install fees or plugin subscriptions.

🎯

Conversion tracking with Goals

Track purchases, add-to-cart events, and newsletter signups as custom events without sending any customer PII.

📊

Understand your marketing channels

See exactly how much traffic comes from Organic search, Instagram, email campaigns, or direct — for every product category.

Ready to add Beam to E-Commerce?

Start free, validate your first pageview, and then scale when traffic grows.

Related setup guides