How to Insert and Manage Anchor Links in HubSpot Pages

How to Insert and Manage Anchor Links in HubSpot Pages?

If users have to scroll endlessly to find what they need, they won’t stick around. On content-heavy HubSpot pages, think product breakdowns, pricing guides, or long FAQs, poor navigation creates friction that quickly sends visitors elsewhere. Anchor links fix that.

Anchor links give you a clear way to guide users through long pages. They’re also useful for search engines, signaling your content hierarchy and relevance. Many HubSpot users either overlook them or implement them inconsistently, leaving valuable SEO and UX benefits on the table.

This guide walks you through what anchor links are, how they work in HubSpot, and how to use them effectively. 

You’ll also learn about common pitfalls to avoid, how to measure success, and how INSIDEA can help optimize your internal linking infrastructure for performance.

Using Anchor Links to Improve Navigation and SEO in HubSpot

An anchor link is a shortcut: a clickable link that scrolls your user directly to a specific section of the same page, no reload, no delay. It’s a small usability detail with outsized benefits.

Inside HubSpot, you create anchor links using the Content Editor. Anchors can be applied within text modules, rich text blocks, or coded templates. The format is simple: assign a unique ID to a target section (like <h2 id=”pricing”>) and link to it using #pricing.

These internal jumps serve double duty. They make it easier for users to navigate complex content, and they help search engines interpret your content’s layout. In HubSpot’s CMS, especially with drag-and-drop modules, it’s important to assign HTML IDs correctly so your anchors land accurately.

Even if you’re using smart content or personalization in HubSpot, anchors still function smoothly. Because they’re tied to the rendered HTML, dynamic content won’t disrupt anchor behavior.

How It Works Under the Hood

Anchor links consist of two parts: the target (where they lead) and the reference (how users reach them).

Anchor Target (ID Definition)

Designate the page your link should open to. Assign an HTML ID to an element, such as a heading or section.

Example:

<h2 id=”pricing”>Pricing</h2>

In HubSpot, open the editor, find your module’s “Advanced” settings, and type your ID under “Anchor” or “HTML ID.”

Anchor Reference (The Clickable Link)

This is the clickable element pointing to your anchor. Instead of linking to another page, it uses the # prefix and your anchor ID.

Example:

<a href=”#pricing”>Go to Pricing</a>

Editor Integration

With HubSpot’s drag-and-drop builder, you can:

  • Set anchor IDs via the “Advanced” tab in most modules
  • Highlight text in rich text modules and insert links using #anchorID
  • Cross-reference anchors within modules on the same page

Live Page Behavior

Once published, the anchor link scrolls directly to the target section. HubSpot automatically adjusts for sticky nav bars, ensuring users don’t land behind a fixed header.

Optional Customization

Developers can fine-tune CSS or JavaScript to refine scrolling behavior. For example, if a sticky header overlaps a section, a simple scroll-margin-top value resolves the issue. Anchors are lightweight, won’t slow your site, and improve structural clarity if used consistently.

Main Uses Inside HubSpot

Enhancing On-Page Navigation for Long Content

When building large resource pages, pillar content, or in-depth guides, anchor links offer a fast, clear navigation framework.

Example Use Case:
A marketer builds a pillar page on “Email Marketing Strategies” with sections like Overview, Tips, Tools, and Resources. By applying anchor IDs such as #tips or #resources and creating a clickable table of contents at the top, users can jump straight to the content that interests them.

This small UX upgrade keeps users on the page longer and helps search engines recognize the semantic structure of your long-form content.

Supporting FAQs and Support Pages

Customer success teams rely on anchor links to improve accessibility for support content. These links save users from endless scrolling, reducing churn and unnecessary ticket volume.

Example:
A HubSpot admin creates an FAQ page with answers to common setup questions. Each question at the top links to a corresponding answer using anchors like #setup or #reporting. It’s intuitive, frictionless, and reinforces your knowledge base as a reliable resource.

Improving Internal Linking for SEO

Search engines evaluate how content is structured on pages. Anchor links divide long content into logical sections that can be linked directly from other posts or pages.

By assigning anchor IDs such as #features, #setup, and #pricing, your team can create precise internal links rather than sending users to the top of the page. Smart internal linking with anchors improves crawl efficiency and content relevance, making your long pages more usable.

Common Setup Errors and Wrong Assumptions

Duplicate Anchor IDs
Reusing the same ID twice creates conflicts. Make each one unique, like about-team vs. about-values.

Missing HTML ID on Dynamic Modules
If you forget to assign an ID to a module, your anchor link won’t land. Always check and define the “Anchor” or “HTML ID” manually.

Linking Without the # Symbol
A missing hash turns your link into a broken jump. Your reference must begin with #.

Testing Only in Preview
Preview mode doesn’t always reflect live behavior, especially with sticky headers. Test anchors in production.

Inconsistent Capitalization
HTML IDs are case-sensitive. #Pricing won’t match id=”pricing”. Stick to lowercase and remain consistent.

Avoiding these pitfalls ensures optimal anchor performance on desktop and mobile.

Step-by-Step Setup or Use Guide

You don’t need to be a developer to set up anchor links in HubSpot. Follow these steps:

  1. Open Your Page
    Go to Marketing > Website > Website Pages or Landing Pages. Choose your page and open it in the drag-and-drop editor.
  2. Choose the Section to Anchor
    Click on the section heading or content block where users should land.
  3. Add an Anchor ID
    Open the “Advanced” tab in the settings menu. Enter a simple, descriptive ID, like ‘pricing’ or ‘faq’.
  4. Create the Anchor Link
    Highlight the text you want to make clickable (or use a button), open the link dropdown, and enter your hash-based reference, like #pricing.
  5. Preview and Validate
    Save changes and use Preview. Test the link to ensure it scrolls to the correct section.
  6. Adjust for Fixed Navigation
    If your nav bar is sticky, apply a CSS offset like: scroll-margin-top: 80px;
  1. Verify Smart Module Compatibility
    If your page uses smart content, preview how personalized modules render. Anchors should still work.
  2. Test on Mobile and Publish
    Launch the live version and test across devices. Anchors should behave consistently if modules are structured cleanly.

This workflow fits into most HubSpot content schedules without causing delays.

Measuring Results in HubSpot

Once anchors are live, monitoring performance helps understand engagement value.

Metrics to Monitor:

  • Average Session Duration: Longer sessions indicate users are navigating with anchors.
  • Scroll Tracking (CMS Enterprise Only): HubSpot Events can track scroll depth. Anchors often correlate with deeper scrolling.
  • Click-through on Anchor Menu Links: Use tracking URLs or click events to see which sections drive interest.
  • Visual Behavior Tools: Tools like Hotjar or Lucky Orange visualize where users click or scroll.
  • Bounce Rate from Internal Anchor Links: Monitor bounce changes when linking directly to a specific section. Lower bounce can indicate higher engagement.

Regular reporting helps shape content structure and prioritize updates.

Short Example That Ties It Together

Your team launches a HubSpot page introducing a new product with four sections: Overview, Benefits, Pricing, and Tutorials. Assign anchors like #overview, #benefits, #pricing, and #tutorials.

At the top, create a navigation bar linking to each section. Someone searching “ProductName pricing” lands on your page, clicks “Pricing,” and jumps directly there. This improves session duration and reduces drop-off.

Later, your team links directly to #tutorials from a how-to blog post. Analytics show that this jump-in navigation drives more engagement from that source. Across just a few steps, you’ve built a smoother user journey with measurable results.

How INSIDEA Helps

INSIDEA helps teams build and manage anchor linking systems that reinforce both UX and SEO best practices. Our HubSpot specialists ensure your internal links are consistent, measurable, and scalable.

Our Services Include:

  • HubSpot CMS and CRM Onboarding
  • Internal Workflow and Automation Support
  • On-Page SEO Setup and Best-Practice Linking
  • Training Content Teams on Anchor Consistency
  • Tracking and Analytics Installation for User Behavior Insights

To streamline your internal linking strategy, visit INSIDEA and hire HubSpot experts to implement it. 

Our HubSpot consulting services ensure your pages are structured clearly, improving navigation and engagement across all devices.

Give every visitor a clearer path. Use anchor links consistently, measure their impact, and restructure content so users arrive exactly where they need to be without frustration.

Jigar Thakker is a HubSpot Certified Expert and CBO at INSIDEA. With over 7 years of expertise in digital marketing and automation, Jigar specializes in optimizing RevOps strategies, helping businesses unlock their full potential. A HubSpot Community Champion, he is proficient in all HubSpot solutions, including Sales, Marketing, Service, CMS, and Operations Hubs. Jigar is dedicated to transforming your RevOps into a revenue-generating powerhouse, leveraging HubSpot’s unique capabilities to boost sales and marketing conversions.

The Award-Winning Team Is Ready.

Are You?

“At INSIDEA, it’s all about putting people first. Our top priority? You. Whether you’re part of our incredible team, a valued customer, or a trusted partner, your satisfaction always comes before anything else. We’re not just focused on meeting expectations; we’re here to exceed them and that’s what we take pride in!”

Pratik Thakker

Founder & CEO

Company-of-the-year

Featured In

Ready to take your marketing to the next level?

Book a demo and discovery call to get a look at:


By clicking next, you agree to receive communications from INSIDEA in accordance with our Privacy Policy.