SOLVED

Re: Anchor Jump Tag

Go to solution
Anonymous
Not applicable

Anchor Jump Tag

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 "http://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!!!

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Anchor Jump Tag

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

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Anchor Jump Tag

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

Ulf_Deeg
Level 3

Re: Anchor Jump Tag

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]