It's valuable to see these requests so you can learn what visitors are looking for, and consider adding new content or fixing the broken link.
Reporting on missing or error pages requires a few steps:
1. Add the Google Analytics tracking code to a custom 404 error page
2. Modify the tracking code on the 404 page as follows (see the urchinTracker modification in red below):
<script type="text/javascript"This code sends a virtual pageview of "/404.html?page=[pagename.html?queryparameter]" to your account, where [pagename.html?queryparameters] is the missing page name.
src="http://www.google-analytics.com/urchin.js">
</script>
<script type="text/javascript">
_uacct = "xxxxx-x";
urchinTracker("/404.html?page=" + _udl.pathname + _udl.search);
</script>
3. Look for /404.html in your Top Content report. Or to make it easier open the Dynamic Content report and expand the list for "/404.html."
No comments:
Post a Comment