Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

How to track Ajax navigation pages (with hashbang URLs)? (no replies)

$
0
0
Hi, my site uses Ajax navigation and dynamically loaded pages, so Piwik only tracks visits to my homepage. I would like Piwik to be able to track the pages located at the hashbang URLs as well. E.g. http://www.mysite.com/#!/page2.

The page content is all located in my index.php in the following form:

<li>page #1</li>
<li>page #2</li>
<li>page #3</li>

EDIT: I solved this by using setDocumentTitle(), setCustomUrl(), and trackPageView() functions.

Thanks.

Viewing all articles
Browse latest Browse all 4243

Trending Articles