Does google analytics counts the pageviews if the url of the page changes by javascript?
For example. First I open the page example.com/about
(1 pageview) in the browser, than I click on the link contacts, but instead of redirect, by ajax I pull that page, insert into the body of the page and also edit the url - making it from example.com/about
to example.com/contacts
by this way
Modify the URL without reloading the page
So, the url changes without page refresh. Will google analytics count the second pageview, or it is still one pageview? And if it will not be counted, can I change some options that it will.
Thanks