Skip to main content
All CollectionsGeneral
How to install Albacross tracking code
How to install Albacross tracking code

Here's how to set up your Albacross tracking script

Marcus Svensson avatar
Written by Marcus Svensson
Updated over 4 years ago

To start tracking your website visitors you need to install a lightweight tracking code to your website.

You can do this in 3 main ways:

  1. Install it manually

  2. Use Google Tag Manager

  3. Use the native CMS plugin for WordPress, Joomla!, or Drupal (ver. 7 and 8 supported)

In this tutorial, we’ll cover the manual installation options and installation using Google Tag Manager.

If you wish to use the native CMS plugin, please follow the respective link:

Manual installation

1. Copy the code below to your clipboard.

<script>window._nQc = "__REPLACE_THIS_WITH_YOUR_CLIENT_ID__";</script>
<script async src="https://serve.albacross.com/track.js"></script>

2. Paste it before the closing </body> tag of all pages of your website but not save the changes yet. 

3. Replace this placeholder __REPLACE_THIS_WITH_YOUR_CLIENT_ID__ with your unique Client ID. You can find it in your account settings under the Company Details tab, or just by clicking here.

Important: Make sure to put your valid Client ID into the code, otherwise you won’t be tracking leads. 

Installation via Google Tag Manager

1. Go to your workspace in Google Tag Manager and click ‘New Tag’.

2. Click ‘Tag Configuration’ and choose ‘Custom HTML’ from the list.

3. Copy the code below and paste it into the HTML field.

<script>window._nQc = "__REPLACE_THIS_WITH_YOUR_CLIENT_ID__";</script>
<script async src="https://serve.albacross.com/track.js"></script>

4. Replace this placeholder __REPLACE_THIS_WITH_YOUR_CLIENT_ID__ with your unique Client ID. You can find it in your account settings under the Company Details tab, or just by clicking here.

5. Tick the ‘Support document.write’ box underneath the HTML field.

6. Under ‘Advanced Settings’, select "Unlimited" from the ‘Tag firing’ drop-down.

7. Select a Trigger that has Trigger type ‘Page View’ and set it to trigger on ‘All Page Views’ if you want to track all the pages of your website, or choose a specific page if you want that to be tracked specifically.

8. Save the Tag and publish it to your website

Did this answer your question?