Automatically click a link and navigate to another page

June 19, 2013 in answer

0 votes, 0.00 avg. rating (0% score)

ANSWER:

Normally, clicking on an anchor link takes you somewhere else inside the page and changes the anchor link to foo.php#bar (where bar is the name of the anchor), so this behavior is by design.

Perhaps you can configure your tracker to track these changes? Clicking on an anchor fires up the hashchange event:
I need to update my page using Anchor (#) in URL

You can change your browser’s URLs programmatically via the HTML5 pushState() method, i.e. the history API.

Here are some examples of utilizing the HTML history API:

Check these links for ways to utilize the hashchange event:

Filippos Karapetis from http://stackoverflow.com/questions/17193477