
Damon
Staff
/ Moderator

Dec 21, 2005, 11:10 AM
Post #1 of 8
(18180 views)
Shortcut
|
Tutorial: Add Google Analytics to Article Manager
|
Can't Post
|
|
You probably have heard all about Google Analytics, Google's new free web stats utility. It's been so popular I wanted to share with Article Manager users some steps on how you can integrate it into your installation Article Manager to generate stats on your published pages. Here are the steps that are really quite simple: 1. First, sign up for a Google Analytics account (http://www.google.com/analytics/sign_up.html). Google has experienced such huge demand for the service, that you will have to be placed on a waiting list first, but it is worth the wait. 2. Now it might take some time to get your account, but once you've received it, log in to your Google Analytics account and add a website profile. Your unique JavaScript tracking code will then be generated. 3. You'll want to paste the JavaScript tracking code on each web page you want to track immediately before the </body> tag. To track pages published by Article Manager, you simply add the JavaScript code into the templates then re-publish all your pages (using the Publish All button in the Article Manager Setup Options). Here is an example of the code you would add:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct="UA-xxxx-x"; urchinTracker(); </script> * UA-xxxx-x is were you enter you would enter your unique tracking code. 4. Here is a list of the Article Manager templates to which you will add the tracking code: /templates/article/default.html /templates/article/default_printer.html /templates/index/default.html /templates/search/advanced_search.html /templates/search/search_results.html If you've created any custom templates for any of your categories or search queries you'll want to add the code to those as well. Once you've added the code, log into Article Manager, go to the Setup Options, and re-publish by clicking the "Publish All" button. :) 5. Finally, log into Google Analytics to view the reporting status for your site. It usually takes a little while for Google to generate the reports the first time (at least 24 hours). If you have any questions, please let me know, I'll be happy to help! :) Some useful links: Google Analytics Help Center https://www.google.com/support/analytics Google Analytics Forum http://groups.google.com/group/analytics-help --------------------------------------------------- Cheers Damon Edis interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
(This post was edited by Damon on Dec 21, 2005, 4:31 PM)
|