---
title: How do I install the Leadinfo tracking code on my Magento website?
description: Start tracking the companies that visited your website today! There are two options to install the Leadinfo tracking code on your Magento website.   We recommend installing Leadinfo through Google Tag
---

[Skip to content](https://help.leadinfo.com/en/how-do-i-install-the-leadinfo-tracking-code-on-my-magento-website#main-content)

- [English](https://help.leadinfo.com/en/how-do-i-install-the-leadinfo-tracking-code-on-my-magento-website)
- [Dutch](https://help.leadinfo.com/nl/hoe-installeer-ik-leadinfo-op-mijn-magento-website)
- [German](https://help.leadinfo.com/de/how-do-i-install-the-leadinfo-tracking-code-on-my-magento-website)

English

Show submenu for translations

[![Leadinfo\_logo\_RGB\_Witte\_tekst-3.png\]](https://help.leadinfo.com/hs-fs/hubfs/Leadinfo_logo_RGB_Witte_tekst-3.png?width=135&height=28&name=Leadinfo_logo_RGB_Witte_tekst-3.png)](https://help.leadinfo.com/?hsLang=en)

Open main navigation

Close main navigation

- - [English](https://help.leadinfo.com/en/how-do-i-install-the-leadinfo-tracking-code-on-my-magento-website)
    - [Dutch](https://help.leadinfo.com/nl/hoe-installeer-ik-leadinfo-op-mijn-magento-website)
    - [German](https://help.leadinfo.com/de/how-do-i-install-the-leadinfo-tracking-code-on-my-magento-website)

  English
  
  Show submenu for translations

 Hi 👋 How can we help?

- There are no suggestions because the search field is empty.

1. [Help Centre](https://help.leadinfo.com/en?hsLang=en)
2. [Getting Started](https://help.leadinfo.com/en/getting-started?hsLang=en)
3. [Quick Start Guide](https://help.leadinfo.com/en/getting-started?hsLang=en#quick-start-guide)

# How do I install the Leadinfo tracking code on my Magento website?

Start tracking the companies that visited your website today! There are two options to install the Leadinfo tracking code on your Magento website.

 

We recommend installing Leadinfo through [Google Tag Manager](https://help.leadinfo.com/en/how-do-i-install-the-leadinfo-tracking-code-with-google-tag-manager?hsLang=en) if you've already installed this on your website. If you are not using Google Tag Manager, you can install the tracking code by adding Leadinfo to the head tag of your website.

 

#### Installing Leadinfo on Magento 2

**Step 1:** Copy the Leadinfo tracking code from the portal. You can find the tracking code in the pop-up on your screen, or if you've already been using Leadinfo, navigate to settings and click on the website under “**Websites**". You can then see the tracking code under the "**General**" tab.

**![Tracking code- copy](https://help.leadinfo.com/hs-fs/hubfs/Tracking%20code-%20copy.png?width=670&height=290&name=Tracking%20code-%20copy.png)**

**Step 2:** Log into your Admin Panel of Magento and navigate to "**Configuration**" under "**Content**"

![](https://help.leadinfo.com/hubfs/Group%20672-png.png)

**Step 3:** Select the store view you'd like to track and in the "**Action**" columns, select "**Edit**".

![](https://help.leadinfo.com/hubfs/Group%20671-png.png)

**Step 4:** On the “**Other Settings**” tab, expand the HTML Head section and add Leadinfo trackingcode to "**Scripts and Style Sheets**" field.

![](https://help.leadinfo.com/hubfs/Group%20669-png.png)

**Step 5:** Do not forget to save the changes by selecting "**Save Configuration**". 

![](https://help.leadinfo.com/hubfs/Group%20668-png-1.png)

 

The tracking code is immediately live on your website. Allowing you to start recognising the companies that visited your website!

 

As a new Leadinfo user, you will gain access to the rest of the portal when we have registered the first company visit on your website.

- [Getting Started](https://help.leadinfo.com/en/getting-started?hsLang=en#main-content)

    - [How Leadinfo works](https://help.leadinfo.com/en/getting-started?hsLang=en#how-leadinfo-works)
    - [Quick Start Guide](https://help.leadinfo.com/en/getting-started?hsLang=en#quick-start-guide)
    - [Privacy Statement & Cookie Banner](https://help.leadinfo.com/en/getting-started?hsLang=en#privacy-statement-cookie-banner)
    - [Check your installation](https://help.leadinfo.com/en/getting-started?hsLang=en#check-your-installation)
    - [Your first steps](https://help.leadinfo.com/en/getting-started?hsLang=en#your-first-steps)
- [See Who’s Visiting](https://help.leadinfo.com/en/see-whos-visiting?hsLang=en#main-content)

    - [How company recognition works](https://help.leadinfo.com/en/see-whos-visiting?hsLang=en#how-company-recognition-works)
    - [Your Inbox & Company Profiles](https://help.leadinfo.com/en/see-whos-visiting?hsLang=en#your-inbox-company-profiles)
    - [Tags & Segments](https://help.leadinfo.com/en/see-whos-visiting?hsLang=en#tags-segments)
    - [Dashboard, Reports & Exports](https://help.leadinfo.com/en/see-whos-visiting?hsLang=en#dashboard-reports-exports)
- [Sales & Follow Up](https://help.leadinfo.com/en/sales-follow-up?hsLang=en#main-content)

    - [Follow-up Best Practices](https://help.leadinfo.com/en/sales-follow-up?hsLang=en#follow-up-best-practices)
    - [Find the Right Contacts](https://help.leadinfo.com/en/sales-follow-up?hsLang=en#find-the-right-contacts)
    - [Get Started with Autopilot](https://help.leadinfo.com/en/sales-follow-up?hsLang=en#get-started-with-autopilot)
    - [Autopilot Campaigns](https://help.leadinfo.com/en/sales-follow-up?hsLang=en#autopilot-campaigns)
    - [Manage your Autopilot Leads](https://help.leadinfo.com/en/sales-follow-up?hsLang=en#manage-your-autopilot-leads)
    - [Email Tracking](https://help.leadinfo.com/en/sales-follow-up?hsLang=en#email-tracking)
- [Grow with Marketing](https://help.leadinfo.com/en/grow-with-marketing?hsLang=en#main-content)

    - [Measure your Campaigns](https://help.leadinfo.com/en/grow-with-marketing?hsLang=en#measure-your-campaigns)
    - [Analytics & Google Ads](https://help.leadinfo.com/en/grow-with-marketing?hsLang=en#analytics-google-ads)
    - [Persona Insights](https://help.leadinfo.com/en/grow-with-marketing?hsLang=en#persona-insights)
    - [Target the Right Companies](https://help.leadinfo.com/en/grow-with-marketing?hsLang=en#target-the-right-companies)
- [CRM Integrations](https://help.leadinfo.com/en/crm-integrations?hsLang=en#main-content)

    - [Connect your CRM](https://help.leadinfo.com/en/crm-integrations?hsLang=en#connect-your-crm)
    - [Most Used CRM Integrations](https://help.leadinfo.com/en/crm-integrations?hsLang=en#most-used-crm-integrations)
    - [All Other CRMs](https://help.leadinfo.com/en/crm-integrations?hsLang=en#all-other-crms)
    - [Use Your CRM Data in Leadinfo](https://help.leadinfo.com/en/crm-integrations?hsLang=en#use-your-crm-data-in-leadinfo)
    - [Troubleshooting CRM Integrations](https://help.leadinfo.com/en/crm-integrations?hsLang=en#troubleshooting-crm-integrations)
- [Automate Your Workflow](https://help.leadinfo.com/en/automate-your-workflow?hsLang=en#main-content)

    - [Triggers](https://help.leadinfo.com/en/automate-your-workflow?hsLang=en#triggers)
    - [Notifications in Your Team Tools](https://help.leadinfo.com/en/automate-your-workflow?hsLang=en#notifications-in-your-team-tools)
    - [Zapier, Make & n8n](https://help.leadinfo.com/en/automate-your-workflow?hsLang=en#zapier-make-n8n)
    - [Website Personalisation](https://help.leadinfo.com/en/automate-your-workflow?hsLang=en#website-personalisation)
    - [API & Data Access](https://help.leadinfo.com/en/automate-your-workflow?hsLang=en#api-data-access)
- [Capture Leads with Leadbot](https://help.leadinfo.com/en/capture-leads-with-leadbot?hsLang=en#main-content)

    - [Getting Started with the Leadbot](https://help.leadinfo.com/en/capture-leads-with-leadbot?hsLang=en#getting-started-with-the-leadbot)
    - [Building a Leadbot](https://help.leadinfo.com/en/capture-leads-with-leadbot?hsLang=en#building-a-leadbot)
    - [Customise Your Leadbot](https://help.leadinfo.com/en/capture-leads-with-leadbot?hsLang=en#customise-your-leadbot)
    - [Forms & LeadGen Form](https://help.leadinfo.com/en/capture-leads-with-leadbot?hsLang=en#forms-leadgen-form)
    - [WhatsApp Business](https://help.leadinfo.com/en/capture-leads-with-leadbot?hsLang=en#whatsapp-business)
    - [Submissions & Notifications](https://help.leadinfo.com/en/capture-leads-with-leadbot?hsLang=en#submissions-notifications)
    - [Leadbot integrations](https://help.leadinfo.com/en/capture-leads-with-leadbot?hsLang=en#leadbot-integrations)
    - [Leadbot Analytics](https://help.leadinfo.com/en/capture-leads-with-leadbot?hsLang=en#leadbot-analytics)
- [Manage Your Leadinfo Account](https://help.leadinfo.com/en/manage-your-leadinfo-account?hsLang=en#main-content)

    - [Users & Access](https://help.leadinfo.com/en/manage-your-leadinfo-account?hsLang=en#users-access)
    - [Subscription & Billing](https://help.leadinfo.com/en/manage-your-leadinfo-account?hsLang=en#subscription-billing)
    - [Websites & Tracking Settings](https://help.leadinfo.com/en/manage-your-leadinfo-account?hsLang=en#websites-tracking-settings)
    - [Emails & Notifications](https://help.leadinfo.com/en/manage-your-leadinfo-account?hsLang=en#emails-notifications)
- [GDPR & Compliance](https://help.leadinfo.com/en/gdpr-compliance?hsLang=en#main-content)

    - [Leadinfo & GDPR](https://help.leadinfo.com/en/gdpr-compliance?hsLang=en#leadinfo-gdpr)
    - [Cookies & Consent](https://help.leadinfo.com/en/gdpr-compliance?hsLang=en#cookies-consent)
    - [Opt Out & Exclusions](https://help.leadinfo.com/en/gdpr-compliance?hsLang=en#opt-out-exclusions)
    - [Email Tracking & Outreach](https://help.leadinfo.com/en/gdpr-compliance?hsLang=en#email-tracking-outreach)
- [Tips & Support](https://help.leadinfo.com/en/tips-support?hsLang=en#main-content)

    - [Webinars & Academy](https://help.leadinfo.com/en/tips-support?hsLang=en#webinars-academy)
    - [General Questions & Feedback](https://help.leadinfo.com/en/tips-support?hsLang=en#general-questions-feedback)
- [How does Leadinfo work?](https://help.leadinfo.com/en/how-does-leadinfo-work?hsLang=en)

[![Leadinfo\_logo\_RGB\_Witte\_tekst-May-13-2023-10-03-08-9010-AM](https://help.leadinfo.com/hs-fs/hubfs/Leadinfo_logo_RGB_Witte_tekst-May-13-2023-10-03-08-9010-AM.png?width=200&height=41&name=Leadinfo_logo_RGB_Witte_tekst-May-13-2023-10-03-08-9010-AM.png "Leadinfo_logo_RGB_Witte_tekst-May-13-2023-10-03-08-9010-AM")](http://leadinfo.com)

Resources for Winners

[Terms & Conditions](https://www.leadinfo.com/en/eula/)  
                                                                                                                  [Privacy Policy](https://www.leadinfo.com/en/legal/privacy/)