Jetrack

Jetrack

Installation Guides

Shopify Installation

Install Jetrack on your Shopify store

Add Jetrack to your Shopify store to track visitor behavior, conversions, and sales.

Installation Steps

  1. From your Shopify admin dashboard, go to Online StoreThemes
  2. Click ActionsEdit Code on your active theme
  3. In the left sidebar, find and click theme.liquid under Layout
  4. Locate the </head> closing tag (usually around line 50-100)
  5. Paste your BrandJet tracking script just before </head>:
    <!-- Jetrack -->
    <script
        async
        defer
        data-website-id="your-unique-id"
        src="https://analytics.brandjet.ai/script.js">
    </script>
</head>
  1. Click Save

Your tracking script will now load on all pages of your Shopify store.

What Gets Tracked

BrandJet automatically tracks all Shopify pages:

  • Product pages - Individual product views
  • Collection pages - Category and collection browsing
  • Cart page - Shopping cart interactions
  • Checkout pages - Checkout flow (if allowed by your plan)
  • Custom pages - About, Contact, etc.

Testing

  1. Visit your Shopify store in a browser
  2. Navigate through a few pages
  3. Check your BrandJet dashboard
  4. Verify that page views are being recorded

Preview Theme

The tracking script will also work in your theme preview mode, but remember:

  • Previews may not send data to analytics
  • Always test on your live store
  • Enable localhost debugging if testing locally

Multiple Stores

If you run multiple Shopify stores:

  1. Create a separate website in BrandJet for each store
  2. Use the unique tracking script for each store
  3. Track performance separately in your BrandJet dashboard

Troubleshooting

Script Not Loading

  • Verify you edited the active theme (not a draft)
  • Check that you saved the theme.liquid file
  • Clear your browser cache
  • View page source to confirm the script is present

Theme Updates

When updating your Shopify theme:

  • Your custom code in theme.liquid may be overwritten
  • Always back up your theme before updating
  • Re-add the tracking script after theme updates

Best Practices

  • Add the script to theme.liquid for site-wide tracking
  • For specific pages only, add to individual template files
  • Keep a backup of your theme before making changes

Next Steps

On this page