To install the tracking code:

  • Be sure you already have created an account
  • Login to your account and go to the settings page https://personalize.humanautomation.ai/settings 
  • On the "tracking code" tab, click "copy" to copy the tracking script
  • Install the script between the <head> </head> elements of your website (see below for more information how how to add code with your specific web platform)
  • After you've installed the script across your website, click "verify" to ensure it was installed properly

Typically the tracking code can be injected into your global website header with a few clicks depending on the website platform you are using. Most content management systems and IT departments can deploy a piece of code to all pages on your site, such as a header file that is referenced across all pages. Otherwise, below are the methods you can use the install the tracking script depending on your platform:


Install the tracking code on a WordPress website

Please note: if your website is hosted on WordPress.com, you will not be able to add the HubSpot tracking code to your website unless you are on their Business plan. The other plans (e.g., Premium, Personal) do not allow users to add any JavaScript code.

  • Follow the steps above to copy the Personalize tracking code
  • Log in to your WordPress account.
  • In the left sidebar menu, navigate to Appearance > Theme Editor.
  • In the list of theme files on the right side of the editor, select Theme Header.
  • Paste in the tracking code and select Update File.

Install the tracking code on a Shopify site

  • Follow the steps above to copy the Personalize tracking code
  • Log in to your Shopify admin dashboard.
  • In the left sidebar menu, navigate to Online Store > Themes.
  • Click the Actions dropdown menu and select Edit code.
  • Select the theme.liquid file for your theme.
  • Paste your the tracking script just before the </head> tag in this file.
  • In the upper right, click Save.

Install the tracking code on a Drupal site

  • Follow the steps above to copy the Personalize tracking code
  • Log in to your Drupal admin dashboard.
  • In the main navigation menu, navigate to Structure.
  • Click Blocks.
  • Click + Add Block.
  • Enter the fields for your new block. Paste the tracking code in the Block body field, and then click Save block.

Install the tracking code on a Magento site

Follow the steps above to copy the Personalize tracking code. Then follow Magento's design user guide for instructions on installing third-party JavaScript code in the Header HTML.

Install the tracking code on a Joomla site

You'll first need to copy your Personalize tracking code following the steps above.

  • Log in to your Joomla account as an administrator.
  • In the main navigation menu, navigate to Extensions > Templates > Templates.
  • Click the name of your template and select index.php in the left sidebar menu.
  • Paste the Personalize tracking code directly above the </head> tag.
  • Click Save.

Install the tracking code using Google Tag Manager

  • Follow the steps above to copy the Personalize tracking code
  • In a new browser tab or window, log in to your Google Tag Manager account.
  • Select your container.
  • In the left sidebar menu, navigate to Tags.
  • Click New.
  • Click Tag Configuration.
  • For the Tag type, choose Custom HTML Tag. Then, give your tag a name.
  • Paste the tracking code in the HTML field.
  • Below Tag Configuration, click Triggering to set up a firing rule. If you don't set up a firing rule, the tag will not fire and Personalize analytics data will not be collected.
  • For the tag to fire on all pages with the Google Tag Manager code installed (recommended), select the option for All Pages.
  • Click Save to save your new tag.
  • In the upper right, click Publish to save your container and tags.
Did this answer your question?