![]() |
Adding Google Analytics to your Board
What is Google Analytics?
Google Analytics (abbreviated GA) is a free service offered by Google that generates detailed statistics about the visitors to a website. Its main highlight is that a webmaster can optimize AdWords advertisement and marketing campaigns through the use of GA's analysis of where the visitors came from, how long they stayed on the website and their geographical position. {http://en.wikipedia.org/wiki/Google_Analytics} Why is Analytics Important? If you (the Board Owner) want to know what is really happening on your site and how best to optimize it to increase visitors and participation and hopefully...... get a conversion.... (make money).... then GA is an important tool for you... |
Isn't it as simple as putting Google's code in your footer and verifying your account?
|
Quote:
|
no... if you put google in your footer... it will only read your pages... without conversions... it would be like putting it in a template... it works.., but when you want to measure more than simple page visits....., you put the code in the </body> and each page becomes unique..
so, no, its not that simple... the idea behind analytics is to analyze.. to measure click-through rates.. conversions... if you just want a counter... get a counter... |
Quote:
Thanks |
If the information seems to be overwhelming.., I will show you how to create a dashboard later today... Dash boards off you the chance to view specific data streams that are important to you on one page...
if i dont get back to this in time, I suggest you go to your google account and take a look at that option... |
In the directions, I think step two tells me to cut and paste the google code into each template, just before the </body>
But it sounds like step three is doing that with the replacement variable, Is step 2 just telling me what step three is going to do? |
This, to me, seems like the wrong way to go about it. Replacing the /body code with an RV for your analytics code + /body doesn't do anything different than just putting it in the footer. It's the same code.
vBSEO handles my Analytics code so I don't do it either way, but I fail to understand how making a RV would make one page unique any more or less than just hardcoding it into the footer. It's doing the same thing. |
listen... trust me when i say this... if you put the code in the footer... you are doing the analytics a great dis-service... because the footer comes up no matter what page you go to.., you are not getting all of what GA is offering...
in order for analytics to work it has to be in a part of the site that is unique from other pages... the body pages are unique. when you put the code in the footer .. you are not getting the results such as site overlay, landing page, bounce rates.., etc.... but if you think its effective for you to put it in the footer... by all means.... do what you do!! as far #7 is concerned... Quote:
|
thanks for all this information.
|
just put the code in your header include and be done with it ..
|
I don't think it matters where you put the code as long as it is on the page being displayed. If it is in the footer then it is going to be on every page. Google does not just read the footer, it reads the content of the whole page. It does not matter where it gets put as long as it is on every page that gets displayed and the footer does that.
|
Is this info only viewable to admins? This Noob needs instructions, I don't know what to do with the file sorry, too new, lol:o
|
i don't remember who, but someone told me that the correct way is put the code in the footer ...
@parent: you need to register on google.com and get the code ... only who owns the google account can see the stats ... |
So if I already have a registered email with google then I have an account I am assuming! Thanks so much!
|
Try this link, it should prompt you to set up an account (you can use yor existing gmail accounthttp://www.google.com/analytics/indexu.html
|
why not to just add the google analytics code to the footer?
footer is loaded on all pages of a forum, right ? |
In step three is it supposed to be (</body>} placed in the field as instructed?
I did that but veiwing page source I do not see the code. |
Quote:
|
Thanks poet, i will give er a shot............appreciate you taking the time to write this up for us.
|
Thanks man!
|
Not working for me, please see my post above #18.
|
Quote:
|
Quote:
I had put (</body>} as the variable to be changed, WRONG. The correct text to be replaced is simply </body>. |
sir is this
in the SEARCH FOR TEXT BOX, enter: (</body>} right |
Quote:
This is correct = in the SEARCH FOR TEXT BOX, enter: </body> That is how it is working for my site anyway. :p |
I thought this mod was a nice reminder to add Analytics to our forums.
|
Thanks this was exactly what i needed.
|
awesome job poet.............thanks still works like a champ
|
Doesn't vBSEO do this for you when you Enter your Google Analytics Code in the following format: UA-9999-1
If not, how do I change it? |
I think what the Original Poster is stressing is:
you have 3 parts to your webpage. Some stay the same some vary. Header Body/Main Footer Header and Footer are called via template on every page. So as a page loads. Header.... then body...then footer If the Analytics code is within the footer, then its the last thing to load. Therefore it only replicates/analyses the simplest of information, and therefore essentially becomes a click counter. Because it is not effectively tracking site activity on a page by page content by content basis. However if the Analytics code is within the body. The most important information ( main/body content ) is loading with the anlaytics code. Thus giving more comprehensive results on page activity/content activity. http://www.googlecommunity.com/forum...tml#post119529 Seems must be before </body> tag I wont use this code, as we have other analysis, but I think the OP has it right. Just my opinion of course. Ozzy |
Quote:
|
google code has to between the head tags ,
i advice to search for <head> and replace with <head> + ur google code . |
Quote:
|
you can just put the code in the footer template ...
so simple ! |
I've been using the code in the footer of 2 forums and a regular website, and I have always seen plenty of data come through. It's always accurate too.
I haven't ever had any problems with it. If Google was having incorrect data come through, by now they would have changed the instructions, but it still says to always add the code immediately before the /BODY tag. I trust Google with their thousands of happy customers over some guy from Texas. |
That guy in Texas knows exactly what he is talking about, especially in post #4. His advice there doesn't apply to everyone, and putting it in the footer works for what most people need it for, but he definitely isn't wrong.
|
What's the argument about? Google suggests putting it right before the </body> tag. You don't have to, but that's what they suggest...
|
Quote:
Fact #1: Analytics is supposed to track every page on your forum Fact #2: Analytics is clever enough to be able to work out what page the visitor is currently looking at Fact #3: Analytics can track conversions without modifying the code or placing it on only some pages. For example, if I want to track how many people register, I setup a "Goal" for register.php. Whenever someone goes to that page and ends up completing the registration, it tracks that as a conversion. And here's Google's official documentation about Goals and Funnels: https://www.google.com/support/googl...n_US&utm_id=ad And here's the documentation about Goals on dynamically generated pages: https://www.google.com/support/googl...14&ctx=sibling You'll notice that you configure everything through the Analytics website, not once does Google ask you to change your code. You use regular expressions, head or exact matches based on the URL of the page. Google does all the work for you, so the correct instructions for this mod should be:
If you don't believe me, try it out for yourself. |
I challenge you to find </body> in the footer (on a default style anyway).
|
All times are GMT. The time now is 05:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|