blue Posted December 8, 2008 Share 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 Link to comment Share on other sites More sharing options...
AlabamaHit Posted December 8, 2008 Share 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 Link to comment Share on other sites More sharing options...
mdshare Posted December 8, 2008 Share 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 Link to comment Share on other sites More sharing options...
blue Posted December 8, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
CtrlFreq Posted February 5, 2009 Share 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 Link to comment Share on other sites More sharing options...
Cronus Posted February 6, 2009 Share 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 Link to comment Share on other sites More sharing options...
Harley Posted March 20, 2009 Share 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 Link to comment Share on other sites More sharing options...
Vali Posted March 20, 2009 Share 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 Link to comment Share on other sites More sharing options...
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.