Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Google Analytics in the Archive (and Forum) by BOP5 Details »»
Google Analytics in the Archive (and Forum) by BOP5
Version: 1.6, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 01-01-2011 Last Update: 05-29-2012 Installs: 133
Supported Uses Plugins Auto-Templates
Re-useable Code Translations  

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)

Download Now

File Type: xml product-googinarchivebop5vb4-Arabic by alra7ba.xml (4.7 KB, 154 views)
File Type: zip Google Analytics in Archive by BOP5 - VB4 v16.zip (3.1 KB, 300 views)

Screenshots

File Type: jpg ss_archive_settings.jpg (88.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
dorans, mapleleaffans, markoroots, misericorde

Comments
  #62  
Old 03-01-2013, 03:38 PM
Heckwork's Avatar
Heckwork Heckwork is offline
 
Join Date: Mar 2002
Location: Rotterdam
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI, it works with Clicky too (https://clicky.com)
Reply With Quote
  #63  
Old 03-01-2015, 08:15 PM
markoroots markoroots is offline
 
Join Date: May 2013
Location: Italy
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,
please can you explain me what is the difference between the options "Archive" and "Forum"?
What do it change?

And please can you explain me also the difference between "Header" and "Footer" position?
Reply With Quote
Благодарность от:
BirdOPrey5
  #64  
Old 03-07-2015, 11:39 AM
markoroots markoroots is offline
 
Join Date: May 2013
Location: Italy
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any answer??
Reply With Quote
  #65  
Old 03-07-2015, 06:07 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, missed this.

Forum are forum pages- the normal ones you are looking at right now.

The archive refers to the vBulletin archive feature- most new forums keep the archive disabled these days as it serves no purpose. But 10+ years ago when search engines had difficulty indexing forums the archive was much easier for it to index. You can see an example of an archive by clicking the archive link in the footer of any page on vbulletin.org, just to the left of the "Top" link.

(Link URL copied here: https://vborg.vbsupport.ru/archive/index.php )

Archive pages are much simpler than normal forum pages and add-ons do not usually affect the archive. Any changes you make to footer, header, or any other templates won't affect the archive either. For these reasons most people forget to put Google Analytics into the Archive code.

These days however I would recommend just disabling your archive in vBulletin settings.

As for header v. footer... In the header you *sightly* slow down the load of the page but register more visitors because no one can really stop the page loading before the header loads. In the footer there is no page slowdown but some visitors who click links really fast or click stop on their browser might not get counted because the javascipt loads last.

It really makes no difference 99% of the time.
Reply With Quote
  #66  
Old 03-12-2015, 08:08 PM
markoroots markoroots is offline
 
Join Date: May 2013
Location: Italy
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! Many thanks BOP!
Is everything clear.
So in your plugin I have to disable the "Enable in Archive" box?
Right?
Reply With Quote
  #67  
Old 03-13-2015, 01:23 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have the archive disabled in vBulletin Options then i does not matter what you have "Enable in Archive" set to.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09298 seconds
  • Memory Usage 2,296KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (5)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (3)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete