# Landing page tracking code

**URL:** <https://community.hubspot.com/t/landing-page-tracking-code/95731>\
**Category:** CRM\
**Tags:** analytics-tools\
**Created:** [December 9, 2023, 10:06pm UTC](https://community.hubspot.com/t/landing-page-tracking-code/95731 "2023-12-09T22:06:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Om\_Ram](https://avatars.discourse-cdn.com/v4/letter/o/ea5d25/32.png) [@Om\_Ram](https://community.hubspot.com/u/Om_Ram)\
**Post date:** [December 9, 2023, 10:06pm UTC](https://community.hubspot.com/t/landing-page-tracking-code/95731/1 "2023-12-09T22:06:02Z")

</div>

Hey guys, is it possible to add a tracking code for a specific landing page? thx!

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [December 9, 2023, 10:23pm UTC](https://community.hubspot.com/t/landing-page-tracking-code/95731/2 "2023-12-09T22:23:59Z")

</div>

Hi [@Om\_Ram](https://community.hubspot.com/t5/user/viewprofilepage/user-id/676645) can you share a little more about what you’re looking to do?

Is the landing page in HubSpot or another CMS?

Do you have the tracking code configured in another CMS? or are you only wanting to use it for a single LP?

---

<div class="post-metadata">

**Author:** ![Om\_Ram](https://avatars.discourse-cdn.com/v4/letter/o/ea5d25/32.png) [@Om\_Ram](https://community.hubspot.com/u/Om_Ram)\
**Post date:** [December 9, 2023, 10:28pm UTC](https://community.hubspot.com/t/landing-page-tracking-code/95731/3 "2023-12-09T22:28:47Z")

</div>

Yes the landing page is in Hubspot. I’m trying to connect Microsoft Clarity  
for each Hubspot LP. Also I’m using Google tag manager if it helps.

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [December 9, 2023, 10:40pm UTC](https://community.hubspot.com/t/landing-page-tracking-code/95731/4 "2023-12-09T22:40:54Z")

</div>

[@Om\_Ram](https://community.hubspot.com/t5/user/viewprofilepage/user-id/676645) thanks for the details.

So if you want to add a unique tracking code to an individual LP, you’d need to go to the Advanced Settings in the page editor and add it to the page head HTML.

This requires at least CMS Pro (or Marketing Hub Pro) - if you’re on Free/Starter this isn’t an option.

 ![Jnix284_1-1702161564874.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/b/1b2dc862e077645b68d112ac0877f3bbd1b3c76c.jpeg)

If you want to add it to all pages on the domain or you can’t add it to the individual pages due to your subscription, you’d add it under Settings \> Website \> Pages \> Templates \> Site Head HTML.

 ![Jnix284_0-1702161464012.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/2/a2b2c84a3d4253320a5f736fc063f1698e4cdbbe.png)

---

<div class="post-metadata">

**Author:** ![FTrands](https://avatars.discourse-cdn.com/v4/letter/f/f08c70/32.png) [@FTrands](https://community.hubspot.com/u/FTrands)\
**Post date:** [December 11, 2023, 8:22am UTC](https://community.hubspot.com/t/landing-page-tracking-code/95731/5 "2023-12-11T08:22:27Z")

</div>

Yes, it is possible to add a tracking code to a specific landing page in HubSpot. By leveraging the HubSpot tracking code feature, you can include custom tracking code that will be applied specifically to the designated landing page. Here’s a general outline of the process:

1. **Access Your HubSpot Account:**

2. **Go to Landing Pages:**

3. **Edit the Landing Page:**

4. **Access Page Settings:**

5. **Insert Tracking Code:**

6. **Paste Your Tracking Code:**

7. **Save Changes:**

By following these steps, you can associate a custom tracking code with a specific landing page in HubSpot.  
For immediate action and further guidance, you can visit [this link](https://appt.link/Pro_Tanvee/hubspot).
