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

404 page tracking (no replies)

$
0
0
According to this:

[piwik.org]

to enable to differentiate a 404 pageview/visit I would need to place the tracking code with a specific snippet onto our 404 page. So copy the javascript code before the last </body>.

We use WordPress & the only place with <body> is the footer.php which already has the normal Piwik tracking code in place.

1. How do I add this to my 404.php which has not <body>
2. How do I stop Piwik from tracking the page twice - once from the footer.php for the site & once from the 404.php?

thanks
Lynn

Viewing all articles
Browse latest Browse all 4243

Trending Articles