Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Track replies & new thread clicks/submits in Google Analytics Details »»
Track replies & new thread clicks/submits in Google Analytics
Version: 1.00, by tpearl5 tpearl5 is offline
Developer Last Online: Aug 2022 Show Printable Version Email this Page

Category: Statistics Modifications - Version: 4.1.x Rating:
Released: 12-14-2011 Last Update: 12-14-2011 Installs: 13
Uses Plugins Template Edits Auto-Templates
 
No support by the author.

With the following template modifications you'll be able to track replies to threads and new threads in Google Analytics. I've included the edits to track clicks on reply & thread buttons and actual form submits. You'll also be able to track how many people are using quick reply & clicking on 'go advanced'.

Why is this better then vbulletin's system?
With reply / new thread data in Google Analytics you'll be able to track not only how many posts your users are making over time, but you can also base that data on secondary dimensions, like where they are coming from before they submit a post, what keyword they searched for before making a post (if they came from a search engine), what threads got the most replies, or what state had the most new threads. The list goes on.

Why tracking clicks is useful
By tracking clicks on reply / new thread links you'll be able to see how many people, including guests, wanted to write something. With these template mods you'll also be able to see where they were clicking on 'reply to thread' or 'post new thread' (top or bottom of the page) or 'go advanced'. By comparing the difference between clicks and submits, then correlating with new account registers, you'll gain some new insight as to what your visitors are doing. Not to mention you can also view secondary dimensions.

Installation
I've included a file for the template modification system.
For TMS
  • install the product file (makes a place to house the template edits)
  • import the xml file for the template edits

Manual
Download the txt file and make the edits manually. DO NOT install the product file, it won't do anything.

If you do not want click data
If you do not want to track click data on reply / new thread links simply set the template edits in TMS that have the word 'click' in them to not active. If you're editing manually, just don't edit the templates that have 'click' as the second variable in the analytics tracking string. For example '_gaq.push(['_trackEvent', 'Reply', 'Click', 'Top']);' is a click tracking code.

A note on the difference in data
Keep in mind that you will more than likely see a difference between vBulletin data and Google Analytics data. This can be caused by a number of factors, including users that don't have javascript enabled, spam posting bots, or users clicking on a something more than once.

I will post some screen shots of what this looks like in analytics after I gather some more data myself. You will find the report under Content > Events (or if using the old version Content > Event Tracking)

Download Now

File Type: xml templateedits-post_analytics.xml (7.4 KB, 30 views)
File Type: txt templateedits-post_analytics.txt (8.3 KB, 86 views)
File Type: xml product-post_analytics.xml (1.3 KB, 33 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-15-2011, 08:40 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excelent!! Thanks!
Reply With Quote
  #3  
Old 12-22-2011, 04:16 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you're welcome - let me know what kind of results you're seeing in Analytics!
Reply With Quote
  #4  
Old 04-01-2012, 09:13 PM
ptceuro ptceuro is offline
 
Join Date: Jan 2012
Location: U.S.A
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excelent!! Thanks!
Reply With Quote
Reply


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 01:58 PM.


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.03691 seconds
  • Memory Usage 2,248KB
  • Queries Executed 18 (?)
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
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete