Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML anchor and query string

Is it possible to do something like the URL below?

myurl.co.uk/#myAnchor?myQry=this

I'm trying to pass tracking codes while also being able to have multiple links from an email go to relevant parts of my page.

This currently seems to do nothing as it is. Is it actually possible.

like image 338
huddds Avatar asked Jan 12 '23 19:01

huddds


1 Answers

The query goes before the anchor, so:

http://example.com/page.php?parameter=value#anchor
like image 148
ironcito Avatar answered Jan 23 '23 19:01

ironcito