Anchor Jump Tag | Community
Skip to main content
July 28, 2016
Solved

Anchor Jump Tag

  • July 28, 2016
  • 2 replies
  • 2223 views

Hi everyone,

I'm in need of some help when it comes to creating a anchor jump tag from an email to a page.

We are creating informational email that will be showcasing certain content on a WordPress page. When I create the anchor tag in the email my href looks like this "example.com/test-for-john/#test1"  and the anchor tag on the page has a href of "test1". When I push a test email out and click on the CTA it brings me to the top of the page.

Does any one have any insight on what I can do to get this to work?

Thanks!!!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

The hash (#...) should match the id (<a id="...">) of the A tag.

2 replies

Ulf_Deeg
New Participant
July 28, 2016

plus you might need to be careful about query params, the #hash goes last of the URL.

so e.g.   ...mysite/mypath/?1=2&3=4#JumpHere

scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
July 28, 2016

The hash (#...) should match the id (<a id="...">) of the A tag.