CMS Development

MattOnce
Contributeur

How to add an anchor to a Hubspot page link

Résolue

Hi there. 

I have a few text links on one page, and I need them to direct the user to another hubspot page. This is easy to do - select "hubspot page or hubspot blog page" from the dropdown and then search for the page you want.

 

What I would ALSO like to happen, is the page to scroll to a certain anchor point on that page. Like href="website.com/page#anchor" would do.

 

How can I do this in Hubspot?

0 Votes
1 Solution acceptée
Anton
Solution
Expert reconnu | Partenaire solutions Diamond
Expert reconnu | Partenaire solutions Diamond

How to add an anchor to a Hubspot page link

Résolue

Hi @MattOnce

if you're using CTAs or custom modules: select "external link" (yeah seems odd, but this is the way to go)

If this is a (simple) menu you can select "URL with URL parameter"

 

 

best, 

Anton

Anton Bujanowski Signature

Voir la solution dans l'envoi d'origine

3 Réponses
dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

How to add an anchor to a Hubspot page link

Résolue

As for the smooth scrolling, check out this article 😃

Anton
Solution
Expert reconnu | Partenaire solutions Diamond
Expert reconnu | Partenaire solutions Diamond

How to add an anchor to a Hubspot page link

Résolue

Hi @MattOnce

if you're using CTAs or custom modules: select "external link" (yeah seems odd, but this is the way to go)

If this is a (simple) menu you can select "URL with URL parameter"

 

 

best, 

Anton

Anton Bujanowski Signature
MattOnce
Contributeur

How to add an anchor to a Hubspot page link

Résolue

Hi Anton,

So, these would mostly be text links or CTAs, and I was hoping to make use of the dynamic page selection that Hubspot offers (to avoid broken links if domain/page names change), but using a static url with the anchor would at least get the functionality I'm looking for. Thanks for the feedback!

 

0 Votes