• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Google Analytics to track forum usage

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Forum,

I have just installed JForum on our website: impressive! Less then an hour work to get this up-and-running. (PS i had to add a jboss-web.xml in our case)

My question: we use Google Analytics on our site to track the site statistics, and it would be nice if we can activate this also on JForum. It was really easy to activate Analytics on our site: all jsp-pages have an standard include on every page with some default stuff. We put the Analytics activation code there, and all our pages are tracked. If JForum is set up in a similar manner (i did not look at that), it would be a simple property (the activation code) and all forum pages will be tracked. If it would be that simple i can ask our developer to have a look at the sources and create this function. Would JForum appreciate such an enhancement?


Or.... of course, is this wheel invented already? I did some searching, but then i missed this possibilty.
Jaap
[originally posted on jforum.net by Jaap]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The solution as i understand is:

In the SystemGlobals.properties a property needs to be added:


In the header.htm there should be added the following before </head>:



As you might see, i don't know much about the scripting that is used in JForum, but this seems to be it!

Anyway i have now entered it manually (without the logic) and it seems to work (i will be able to see the results in a day or two in Google)
[originally posted on jforum.net by Jaap]
 
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic