vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - BBR Google Analytics Addon (https://vborg.vbsupport.ru/showthread.php?t=229347)

BBR-APBT 12-12-2009 03:07 AM

Updated XML with code provided by Jedric

Jedric 12-12-2009 05:51 AM

*cough*

That was me...not cyber3. ;)

cyber3 12-12-2009 01:05 PM

Quote:

Originally Posted by BBR-APBT (Post 1929156)
Updated XML with code provided by cyber3

That was Jedric's Code.. NOT MINE..

And it DOES work!!!

Thank you Jedric!!!

Cyber3

BBR-APBT 12-12-2009 01:13 PM

My fault copy and paste at 2 am isn't to much fun.

VonDoom 12-12-2009 05:36 PM

Cool will try this one again Thanks.

Jedric 12-13-2009 06:51 PM

Also please note that the new code requests you put it right before the </HEAD> tag. It is no longer right before </BODY>.

VonDoom 12-14-2009 12:30 AM

Working for me :)

dennisuello 12-14-2009 09:34 PM

Installed. Thanks. :up:

fayax 12-17-2009 12:20 AM

For newbies like me :D working with vb4CMS I would like to clarify a few things.

These are just clarification to main directions above.

in admincp do the following to get this to work.

Admincp>plugins & products> manage products> add/import product> Browse to the file you downloaded >

Once that is complete then

Control panel Home > setting> options > in the long list of option go to BBR google analytics and double click it. Put the number from the information you received from the analytics page from google.

it can have this format also UA-xxxxxxx-xx ( where x- is a number)

Hope this helps others. And correct me if I am wrong.

Regards,
fayax

saqibnpt 12-17-2009 08:20 AM

Great! Thank you!

nitra1000 12-22-2009 04:35 PM

Quote:

Originally Posted by RickyG (Post 1924395)
why not plop it into a widget ad spot? Thats what i did and it works

Google code is supposed to go in a certain place, thats what this plugin does.

p.s installed thanks!

nitra1000 12-23-2009 01:05 AM

bah or at least I thought it was, is their any problem with the latest version and subdomains. The analytics code is clearly there but googleis refusing to acknowledge it.

BBR-APBT 12-23-2009 01:11 AM

I never tested this on a sub-domain.
I can't see why it would cause a problem though. Working with lots of other people.

dcuellar 12-23-2009 11:00 PM

You are on a roll man. Great work so far!!

tazattitude 12-24-2009 09:57 AM

Nice to have before all the skins/templates come out
Marked as installed
Thanks!

KissOfDeath 12-26-2009 05:12 AM

installed, thank you to coder and all that helped with coding

nkumaran 12-26-2009 02:52 PM

It's working now, Thx.

Team_RCRR 12-27-2009 04:17 AM

I was messing around with google analytics and after I was done viewing my data I clicked "site overlay" and ever sense then its displayed a whitened out top half of my site and nothing is clickable. Any one got an idea why? I've disabled analytics for now because of it.

stained 12-27-2009 12:05 PM

This works great but I've had to disable it because it moves my notices (guest message etc) to the bottom of the page and removes some of the formatting. I'd appreciate it if someone could give me a tip on how to fix it. The code has been inserted as follows:

PHP Code:

<script type="text/javascript">
//<![CDATA[

window.google_analytics_uacct "UA-xxxxxxx";


</
script>
</
head> <body


HondaATC 12-27-2009 11:10 PM

Mine does not seem to be working in 4.00PL1 :(

ForumUser210 12-27-2009 11:35 PM

Analytics should go above the </body> tag. In the </head>, it slows down the loading of the entire forum.

stained 12-28-2009 01:01 PM

Hi,

I didn't make a manual change to be honest. The mod put it there :)

Can you tell me where to edit to place the analytics code correctly? Thanks

BBR-APBT 12-28-2009 02:27 PM

Quote:

Originally Posted by ForumUser210 (Post 1939834)
Analytics should go above the </body> tag. In the </head>, it slows down the loading of the entire forum.

This is not the normal code, Google released this code to be put below the head tag.

HondaATC 12-28-2009 04:17 PM

Quote:

Originally Posted by HondaATC (Post 1939821)
Mine does not seem to be working in 4.00PL1 :(


Apologies. Mine is working now. Either Google was a weee bit slow on their refresh or I was a bit impatient :)

stained 12-29-2009 01:06 PM

Quote:

Originally Posted by BBR-APBT (Post 1940441)
This is not the normal code, Google released this code to be put below the head tag.

The mod put the code before the head tag on my forum which pushes the welcome message and obviously all other notices to the bottom of the screen. Where do I need to edit to get it into the correct place? Thanks

bpr 12-29-2009 09:19 PM

Great, Thank you :) BTW You had the honour of being my first ever installed add on for an brand new vb ;) cheers

Bouncer222 12-30-2009 04:28 AM

I checked my header template and I searched for </body> code and I searched for any part of code that had the word google in it , nothing was found so I presume the code is not there? Yet it says that is the template it should be in, any help on why it wont show?

Thanks.

albibak 12-30-2009 10:28 AM

BBR-APBT,

Thanks for the mod
Please, find in attachment the french translation
You can find the french topic for this mod here: http://forum.vbulletin-fr.org/modifi...mod&modid=1077

COBRAws 12-30-2009 03:45 PM

Does this allow to track visits on subdomains as well? GA recently enabled a custom JS code to allow tracking on any subdomain from the tracked domain.

The only line added to the code is this:
Code:

pageTracker._setDomainName(".domain-name.com");
Just above:
Code:

pageTracker._trackPageview();
} catch(err) {}</script>


Thanks!

wheres me jumpa 12-30-2009 04:21 PM

Installed. Thanks.

Hellracer99 12-31-2009 08:20 AM

Thank you very much. Installed

4ums 01-01-2010 10:49 PM

Hi all iv got this on my cp now and its not working i put my google id as shown its been more than 24hrs was wondering do i have to edit the xml file aswell if so how??? Thanks any help apprieciated.

P.S and why is there two choices to down load the fie????

BBR-APBT 01-01-2010 11:51 PM

Quote:

Originally Posted by 4ums (Post 1944424)
Hi all iv got this on my cp now and its not working i put my google id as shown its been more than 24hrs was wondering do i have to edit the xml file aswell if so how??? Thanks any help apprieciated.

P.S and why is there two choices to down load the fie????

You would download the newest file.

4ums 01-02-2010 12:35 AM

Quote:

Originally Posted by BBR-APBT (Post 1944454)
You would download the newest file.

Thank you BBR-APBT which one is that ?? the one with the most downloads?? and do i have to edit the XML file in anyway to add things like URL, GOOGLE ID etc...as im not sure thanks.

stained 01-02-2010 11:15 AM

please remove.

BBR-APBT 01-02-2010 02:18 PM

Quote:

Originally Posted by 4ums (Post 1944483)
Thank you BBR-APBT which one is that ?? the one with the most downloads?? and do i have to edit the XML file in anyway to add things like URL, GOOGLE ID etc...as im not sure thanks.

Install Instructions:
1) Import the product-bbr_google_analytics_1.02.xml file
2) Go to your AdminCP options and edit the BBR Google Analytics options.
3) You must set Active to Yes
4) Input your Google Account ID (UA-xxxxxx-x)

4ums 01-02-2010 02:49 PM

So i do not have to edit the XML file sorry for been a noob??

Pharkas 01-02-2010 11:35 PM

Just a quick question...

My admins sometime create new styles after I've installed mods.

How would I apply installed mods to styles created after the isntallation ?

4ums 01-02-2010 11:43 PM

Quote:

Originally Posted by BBR-APBT (Post 1944968)
Install Instructions:
1) Import the product-bbr_google_analytics_1.02.xml file
2) Go to your AdminCP options and edit the BBR Google Analytics options.
3) You must set Active to Yes
4) Input your Google Account ID (UA-xxxxxx-x)

I have done this exactly and its still not working thats why i asked if i needed to edit the xml file??

BBR-APBT 01-03-2010 05:35 AM

Works for every one else can't imagen why it wouldn't work for you.


All times are GMT. The time now is 03:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01437 seconds
  • Memory Usage 1,798KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete