Skip to main content

How do I install the Albacross tracking code on a Shopify site?

Install Albacross tracking script for Shopify

Marcus Svensson avatar
Written by Marcus Svensson
Updated over a week ago

1. Sign in to Albacross

  1. Go to Albacross and log in with your account.

  2. If you don’t already have an account, create one — you’ll need it to generate your unique tracking script.


2. Get Your Tracking Script

  1. In the Albacross dashboard, navigate to Settings → Tracking code.

  2. Copy the JavaScript snippet provided. This is your unique tracking code.


3. Add the Code to Shopify

You have two main options: using the Shopify theme editor or Google Tag Manager (if you use it already).

Option A: Install via Shopify Theme Editor

  1. In your Shopify Admin, go to Online Store → Themes.

  2. Click Actions → Edit code for your active theme.

  3. In the file list, open theme.liquid (usually found under Layout).

  4. Paste your Albacross tracking code just before the closing </head> tag.

  5. Save the changes.

Option B: Install via Shopify Admin Preferences

  1. In Shopify Admin, go to Online Store → Preferences.

  2. Scroll down to Google Analytics or Additional scripts (depending on your setup).

  3. Paste the Albacross tracking code there.

  4. Save.


4. Verify Installation

  1. Return to the Albacross dashboard.

  2. Within a few minutes to hours, data should start appearing under your account (company visits, lead info, etc.).

  3. To test faster, you can use your browser’s developer tools to check that the script is loaded on your Shopify storefront.


5. Optional – Use Google Tag Manager (GTM)

If you already use GTM for other scripts:

  1. Go to GTM → Tags → New.

  2. Create a Custom HTML tag and paste in your Albacross script.

  3. Set a trigger for “All Pages.”

  4. Save and publish.


✅ That’s it — your Shopify store is now connected to Albacross. You’ll be able to track which companies visit your store, capture lead data, and enrich your sales pipeline.

After you install the tracking script it can take up to 24h to start tracking companies! 

Did this answer your question?