To install Hitprobe on Magento, you'll need add the Hitprobe JavaScript tag code directly to your store’s theme using Magento’s built-in customization options - no plugins needed.
First, obtain the Hitprobe tag
After signing up for your free Hitprobe account and completing the onboarding process, you'll be provided with your tag to copy.
If you've already added your Magento store’s domain, grab the corresponding site key and insert it into the <your_site_key>
section of the tag, ensuring you delete the brackets.
Add the tag to your Magento store
To ensure Hitprobe tracks all visitors, you need to add the tracking script to your existing Magento theme. The best way to do this is by inserting the script directly into your theme’s HTML head section.
- Log in to your Magento admin panel.
- Tap on Content, then Design, followed by Configuration.
- Select the active theme used on your store.
- Under HTML Head, navigate to the Scripts and Style Sheets section.
- Within the Head section, paste in the Hitprobe tag including your site key - Adding the tag to the head section of the site ensures the tag fires as soon as the page content begins to load.
- Click Save configuration, then clear your cache.