blue Posted December 8, 2008 Posted December 8, 2008 Hey all, question for everyone using the Google Analytics. On your game, where do you put the Analytics? Login? Index? Where all do you put it? Im asking because i have always just posted it on the login.php page only. But i want to know if it would help my reports to put it on all the pages? Thanks for looking. -blue Quote
AlabamaHit Posted December 8, 2008 Posted December 8, 2008 Re: Question for all game owners i once had apage with a google ad on it...but Google Suspended my account. Come to find out. One or 2 players where clicking eh hell out of the same ad (50+ times)... Just be carefull with it, it can cost you your google account, i mailed google as well once you lose it ...no gettnig it back. Quote
mdshare Posted December 8, 2008 Posted December 8, 2008 Re: Question for all game owners I've stopped using google <censored>ytics so can't help much here But what I recall was that the google <censored>ytics script had to be posted on ALL your pages, so best was just putting it in your footer. ytics is google a n a l y t i c s word got filterd out Quote
blue Posted December 8, 2008 Author Posted December 8, 2008 Re: Question for all game owners Thanks for the tip Alabamahit. Ok md. I will add it to the footer page. Quote
CtrlFreq Posted February 5, 2009 Posted February 5, 2009 Re: Question for all game owners We drop the two SCRIPT tags in just above the closing body tag. Since we're using smarty templates, and have a base page everything derives from, these only appear once in the code, but on every page of the site, so we get a fairly in-depth view of whats going on. Quote
Cronus Posted February 6, 2009 Posted February 6, 2009 Re: Question for all game owners Its best to put it in footer, you get more complete results as it goes on every page. Quote
Harley Posted March 20, 2009 Posted March 20, 2009 Re: Question for all game owners Can anyone tell me how to add this to my gamesite? I mean what do I put in what folder? Sorry, I'm a newb, I can edit and rewrite some script but that's about it. Is this what I paste in? <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-8013287-1"); pageTracker._trackPageview(); } catch(err) {}</script> Quote
Vali Posted March 20, 2009 Posted March 20, 2009 Re: Question for all game owners Read the good FAQ file mate, all you have to do is copy paste that code in your site. Usually, the footer, and on EVERY page, so you can track all user actions. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.