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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Google AnalyticsGoogle Analytics
Previous
 
Next
New Post
3/20/2007 6:25 AM
 
Hello,

I want to use Google Analytics in different DNN portals. Technically, you have to add a little javascript somewhere in your page. I have seen different ways to do this, but none which really satisfy me:
  • You can do this in a skin. The problem is that you bind your skin to your portal. All the skins I use on that portal must be modified and can't be used outside of it.
  • You can do it n the Copiright field of the portal. There are two problems with this one. First, the database field is only 100 chars, and the javascript is more than that. You could modify the db field to 200 chars, but DNN internally truncates the copyright field anyway. The second problem is that the copyright field gets int the every page header too, not only in the [COPYRIGHT] tag of the skin.
  • You could use a special HTML/Text module that you repeat in each page. This is not really handy.
Does anyone have a better suggestion? Have I forgotten or overseen the 'right' way to do it?
 
New Post
3/20/2007 10:51 AM
 
I can't remember exactly where unfortunately, but just by searching for "DotNetNuke Modules" on Google (and I very seldom go past the first page of results) I found a site that was giving away a Google Analytics  module - basically you just drop it on each page that you want tracked.  I assume you have to configure it with your google ID first.  Sorry I can't be more precise, but hope that helps.
 
New Post
3/20/2007 10:59 AM
 

The best way would be a simple skin object i have one i did for 3.x that you can have

 

email at dylan.barber@earthlink.net or MSN IM at the same address


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
3/20/2007 11:06 AM
 
Hi there,
You can implement Google Analytics with editing default.aspx file located at website root.
Simple open up default.aspx file and add google analytics code before the </body> tag at the bottom of page.

I'm using this method at my dnn portals and it works perfect with all pages that dnn contains.

Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
New Post
3/20/2007 11:40 AM
 
You might say I'm difficult to please, but non of these suggestions are good enough for me.
  • gryff_1000: I was aware of that module before I posted my question. A sepcific module on each page is technically a solution. But the thing I want is to be able to manage this extra javascript at the portal level. I don't want to have to check every page regularly if it has the module, because someone might inadvertantly remove it on a specific page.
  • famdylan: the skin solution ties your skin to your portal and vice-versa. I want to be able to buy a skin and use it. Not having to modify it for each portal I have.
  • greenflash: This would be my solution of choice if it weren't that ... default.aspx is there for ALL the protals. That way I wouldn't be able to differentiate the different portals in Google Analytics.
I'm loooking for something like a portal header or footer that would get added to each page, but that I can manage at the portal/site level. Maybe I should add a feature request.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Google AnalyticsGoogle Analytics


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