MOD: Google Analytics

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/60193?pagenum=1
04 November 2025, 18:35

Topic


wildfiction
MOD: Google Analytics
16 November 2005, 14:04


I've modded my inc_header.asp file at around line 254 I've inserted the following to allow Google Analytics to accumulate on my forum(s)

'######### Google Analytics Code Start
'######### Replace the xxx's in the _uacct line with your account number
Code:
Response.Write	"<script src=""http://www.google-analytics.com/urchin.js"" type=""text/javascript"">" & vbNewLine & _
"</script>" & vbNewLine & _
"<script type=""text/javascript"">" & vbNewLine & _
"_uacct = ""UA-xxxxxx-x"";" & vbNewLine & _
"urchinTracker();" & vbNewLine & _
"</script>" & vbNewLine & vbNewLine
'######### Google Analytics Code End


The line at 252 looks like this:
'## END - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT

and the code above was inserted after this line.
Not sure if anybody has any comments about whether or not this is the right place to put this code...?
I have only tried it on the www.usaskiforum.com so far.
All comments appreciated...<

 

Replies ...


johnny bravo
28 November 2005, 08:07


Works fine for me, Thank you<
s
29 November 2005, 00:19


nice<
wildfiction
26 January 2006, 16:50


What sort of analytics are you guys getting for your fora/forum?
One of the interesting factors that I've found is that about 70% of my visitors each day are returning visitors.
Tons of other interesting stuff as well but some of it will be regional...
I've received a few emails from people asking for invites to Google Analytics - please not that this is NOT like gmail and there are no invites and until they provide more capacity there is no way you can join up - really sorry about that...<
MarcelG
26 January 2006, 17:17


Is it closed ??? I signed up the first day, and I must say I'm impressed!<
wildfiction
14 February 2006, 01:02


yes - currently closed to new accounts because of "overwhelming demand" - i was also very lucky to get in when i did.<
bobby131313
14 February 2006, 01:20


I've had it on mine since the first week. It is very impressive.
I put mine in the same place, except I used an include file since I have 6-700 other pages on the site besides the forum. Makes it easy to change if needed.
One thing I like is the goal tracking. I set up the funnel leading to the final registration page. It's very interesting to follow the signups and see where they entered the site and follow thier progress through the site to the registration. Or the abandonment point if they don't follow through to the end. Good stuff.
They closed it very early. I believe the 7th or 8th day it was available.<
akintosyali
12 January 2009, 11:01


I tried the code above and it didn't work.. Any suggestions??<
Podge
12 January 2009, 11:29


Where is your forum ? Did you put in your unique user account number ?<
akintosyali
13 January 2009, 10:39


yes, I tried putting this code with my own google account id to the header and it did not work.
So I put the code on the footer and that didn't work either.
My site is:
http://www.ingilizce.com/forum/default.asp<
SixGirl
30 June 2010, 13:19


I ended up using this in the inc_footer today and it worked just dandy - see below from where I started to the end of the page:

Code:

'## END   - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT


Response.Write " </tr>" & vbNewLine & _
"</table>" & vbNewLine & _
"<script type=""text/javascript"">" & vbNewLine & _
"var _gaq = _gaq || [];" & vbNewLine & _
"_gaq.push(['_setAccount', 'UA-YOUROWNNUMBER-7']);" & vbNewLine & _
" _gaq.push(['_trackPageview']);" & vbNewLine & _
"(function() {" & vbNewLine & _
"var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;" & vbNewLine & _
"ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';" & vbNewLine & _
"var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);" & vbNewLine & _
" })();" & vbNewLine & _
"</script>" & vbNewLine & _
"</body>" & vbNewLine & _
"</html>" & vbNewLine

my_Conn.Close
set my_Conn = nothing
%>
© 2000-2021 Snitz™ Communications