vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Google Analytics in the Archive (and Forum) by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=256325)

BirdOPrey5 01-01-2011 10:00 PM

Google Analytics in the Archive (and Forum) by BOP5
 
1 Attachment(s)
Brought to you by BirdOPrey5
www.Qapla.com


Upgraded to version 1.6 - Updated option to put code in header OR footer on forum pages.
  • Header - Recommended location by Google for the Asyncronous Code (the popular code)
  • Footer - Recommended location for non-Async (legacy) tracking code.

I strongly urge everyone to confirm with google your code is working by checking the analytics the next day after installing to confirm your hits are bing registered. The google tool for confirming the code is on the page is not good enough!

The main purpose of this mod was originally to add your Google Analytics code to the archive. The archive traditionally gets overlooked because the standard instructions of copying your analytics code into the footer doesn't cover the archive.

You simply copy and paste the full analytics code Google gives you into the mod options and enable it.

Optionally you can also use this mod to put your analytics code in the regular forum (non-archive) as well, however if you have already manually put your analytics code in the footer you should leave this option disabled.

To confirm it is working go to your archive and view the source on any archive page. At the bottom directly above the VB Copyright info should be your google code.

I have tested this on 4.0.8, 4.1.12, and 4.2.0 and it will work in all 4.0.x and 4.1.x /4.2.x at least.

For a VB 3.8 version see here: https://vborg.vbsupport.ru/showthread.php?t=246171

You won't see any indication on the pages but you can demo the product at:
www.qapla.com/mods/

Please mark as installed if you use this. :)
Donations Always Appreciated. :up:

English - Download .zip file. Version 1.6
Arabic - Translated by Dr. OsamA - Download .xml file. Version 1.13 (old version)

BirdOPrey5 01-01-2011 11:29 PM

Reserved

raicars 01-02-2011 08:35 AM

Product not work
Demo:

http://www.yhanoi.com/forum/archive/index.php

Dr.osamA 01-02-2011 01:21 PM

1 Attachment(s)
installed + 5 stars
showing only in archive no else

translated to Arabic , plzz be nice and add translation to 1st original post

thank you

Edit : update translated XML file to version 1.13

BirdOPrey5 01-02-2011 01:29 PM

Quote:

Originally Posted by raicars (Post 2142671)

Can you show me a screenshot of the mod setting you are using?

BirdOPrey5 01-02-2011 01:31 PM

Quote:

Originally Posted by Dr.osamA (Post 2142723)
installed + 5 stars
showing only in archive no else

translated to Arabic , plzz be nice and add translation to 1st original post

thank you

Are you saying you tried it in the forum and it didn't work? What VB are you using?

raicars 01-02-2011 03:11 PM

1 Attachment(s)
Images Option

BirdOPrey5 01-02-2011 04:00 PM

OK, I'm not 100% sure what is wrong but I just updated to a new version, 1.13. Please try it now and let me know if it's any better.

raicars 01-02-2011 04:58 PM

I has just update product 1.1.3.
It's not word :d.
http://www.yhanoi.com/forum/archive/index.php

BirdOPrey5 01-02-2011 05:06 PM

Quote:

Originally Posted by raicars (Post 2142819)
I has just update product 1.1.3.
It's not word :d.
http://www.yhanoi.com/forum/archive/index.php

Just FYI it IS working in the forum- I see this code in your "view HTML source" on your forum:

HTML Code:

<!--Google Analytics in (Forum) Begin-->
<script type="text/javascript">
  var _gaq = _gaq || [];

  _gaq.push(['_setAccount', 'UA-11533753-1']);

  _gaq.push(['_setDomainName', 'none']);

  _gaq.push(['_setAllowLinker', true]);

  _gaq.push(['_trackPageview']);

  (function() {

    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

  })();
</script>
<!--Google Analytics in (Forum) End-->

I will continue to see if I can think of anything blocking it in the archive.


All times are GMT. The time now is 03:48 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.01093 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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