• Live group demo of Marketing Hub + Data Agent

    Standardize reporting, reduce manual work, and introduce AI without cleanup

    Join us on March 12
  • Ready to build your local HubSpot community?

    HUG leaders host events, spark connections, and create spaces where people learn and grow together.

    Become a HUG Leader

Add code snippet on CTA/Link in HubSpot

SarahOps
Contributor

Hello,

I'm setting up LinkedIn Ad conversion tracking (Insight Tag). Does anyone know how I can add the code snippet to a CTA or specific link on a HubSpot Website page? 

 

LinkedIn Insight Tag Event Specific_blurred.jpg

0 Upvotes
1 Accepted solution
Jnix284
Solution
HubSpot Employee
HubSpot Employee

Hi @SarahOps ,

 

To add the pixel tracking JS to specific pages, open the page editor, click the settings tab, scroll down to Advanced options, under Additional code snippets paste the code into the footer html box (the second box in the screenshot).

advanced-settings.png


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon

View solution in original post

1 Reply 1
Jnix284
Solution
HubSpot Employee
HubSpot Employee

Hi @SarahOps ,

 

To add the pixel tracking JS to specific pages, open the page editor, click the settings tab, scroll down to Advanced options, under Additional code snippets paste the code into the footer html box (the second box in the screenshot).

advanced-settings.png


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon