1. Home
  2. HumCommerce Integration
  3. Adding HumCommerce tracking code to your Magento 2 store

Adding HumCommerce tracking code to your Magento 2 store

To start tracking user activity on your Magento 2 store, you need to add the HumCommerce tracking code to the </head> tag of your website.

Follow these steps to add the tracking code to the head tag of your website.

Step 1: Start by copying the tracking code from your HumCommerce dashboard.

Copy HumCommerce tracking code

Step 2: Login to your Magento 2 admin panel –

Login to Magento 2 Admin Panel

Step 3: Go to Content => Configuration (under Design) –

Configuration submenu in Content

You’ll see the Design Configuration page –

Design Configuration page

Step 4: Click on the Edit button for your current theme.

Current theme settings

Step 5: Expand the HTML Head section in your theme settings –

Paste tracking code

Step 6: Click on the Save Configuration button in the top right corner of the theme settings page.

You’ll see the following message on saving the configuration –

Design Configuration page

You have now pasted the HumCommerce tracking code successfully.

Once the first visitor comes to your website after code pasting, you’ll start seeing the active dashboard.

Updated on February 15, 2019

Was this article helpful?

Related Articles