Urgent issues? Contact us directly at help@monitus.com or check Monitus Tools Updates.
Monitus Tools Forum  


Tracking 404 pages - 2006/10/06 16:01 You can now track 404 pages in Google Analytics with the help of our Web Analytics Connector. And not only that, you will see what visitors were trying to find prior to landing on the 404 page, such as the filename or an outdated link from a search engine.



Here is what you have to do to implement this:

1. Set up a 404 page in Yahoo! Store. If you don't already have this set up, see Steps 6 to 17 here.

2. Your Monitus tracking code should be on all pages as you know. However, on the 404 page the code has to be modified a little bit.

Code:

 <script src="http://www.monitus.net/scripts/monitus_tools.js"></script> <script type="text/javascript"> var monitus_urchinPage='/404.html?page='+location.pathname+location.search; monitus_init(your-id-here);</script>


So add this code or modify the normal Monitus tracking code. Publish when done.

3. In Google Analytics, look for the 404 information in Content Optimization > Content Performance > Dynamic Content.

Post edited by: admin, at: 2006/10/06 18:11
  | | The administrator has disabled public write access.
Re:Tracking 404 pages - 2007/11/14 15:12 Would this work better?:
<script src="http://www.monitus.net/scripts/monitus_tools.js"></script>
<script type="text/javascript">
var monitus_urchinPage='/404/'+location.pathname+location.search;
monitus_init(your-id-here);</script>

I ask because the Dynamic Content report is unavailable so this might work in Content Drilldown.
  | | The administrator has disabled public write access.
Re:Tracking 404 pages - 2007/11/14 17:42 Sure, you can try that as this is code you would put on your 404 page manually.

Many thanks,
Michael
  | | The administrator has disabled public write access.
Re:Tracking 404 pages - 2008/06/04 18:47 Has this code changed?

In particular, it seems pretty different than the current tracking code:

<script type="text/javascript" src="http://live.monitus.net/scripts/monitus_tools.js"></script>
<script type="text/javascript">if(typeof(monitus_init) == "function") monitus_init(**ID**, "old");</script><noscript><img src="http://live.monitus.net/php-bin/mnsc.php?mid=**ID**" alt="Monitus Yahoo Store web analytics" /></noscript>
  | | The administrator has disabled public write access.