Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Google Analytics on all portal pagesGoogle Analytics on all portal pages
Previous
 
Next
New Post
5/25/2009 9:47 PM
 

I don't recommend putting your tracking code in the skin.  Doing so gives you these problems:

1) if you want to change any settings, you have to modify and re-upload your skin  It also means your skin can't be re-used anywhere else.

2) you will track every pageview for your site, including admin pages, host pages, page edits, file uploads : the lot.  On a lower-traffic site, this can easily distort the overall figures by introducing outliers in terms of usage

A module-based solution will be superior because:

1) you can quickly install it on any site without having to change the skin

2) most have a range of settings you can change

3) it won't track 'edit' pages and uploads

I distribute a free, no registration module at http://www.ifinity.com.au/Products/Google_Analytics_Script_Module

With this module, you get the above benefits, plus :

- you can restrict view tracking for a particular security group, ie admins

- you can associate registered users with a different analytics segment, so you can, say, filter on subscribers to see the data differently.

- you can track clicks to external websites, giving you the ability to see where people are leaving your site wihtout using horrid linkclick solutions (of which there is no reporting anyway)

The module takes about 1 minute to install and configure.  Many of the other free Analytics modules will give you similar features for the same price.

The difference in performance for loading an extra module on the page would be so small as impossible to detect.  You would get a larger variance in page performance from the network speed than from module/no module.

 
New Post
5/25/2009 11:22 PM
 

Well, I was all set to reply with a cautionary note regarding false hits from admin views but Bruce already covered that and a lot more so I'll simply "second" everything that Bruce said.  A single extra module to load GA should be of no measurable performance impact (compared to implementing GA via skin) and will reap rewards in terms of far more accurate stats for less-visited sites.  
 
If you drop your GA code in the skin or in a Text/HTML module the only way to correct the false hits is to set GA to block (filter) data from your known "admin" IPs.  This is hardly the best choice and definitely not a perfect solution.  Side note:  Depending on how you do it, tossing out data in GA may also -delete- the tossed data permanently.  Google has labeled some "ignore and delete" functions as "filters" but the data loss is permanent.  Be aware of what you're doing before playing with any "filters" in the GA interface...
 
-mamlin


esmamlin atxgeek.me
 
New Post
5/26/2009 9:15 AM
 

I found one that I am going to try out called Infinity Google analytics module for DNN. Should be easy to find if you google for it. This one that I found has some advanced features in it that you can't get by putting something in a skin. You can:

 

1. Choose a security role to exclude from GA.

2. Exclude a server from GA

3. Create multiple profiles in GA and link each module up to it so you can track different types of users/security roles.

4. Have it on all pages or just some of them.

5. Uninstall/upgrade as needed the normal way you would with modules.

 

Seems a lot easier to me than putting the entire code in the skin.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Google Analytics on all portal pagesGoogle Analytics on all portal pages


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out