Jump to content
MakeWebGames

Question for all game owners


blue
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

  • 1 month later...

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>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...