Back to vBulletin 4.x Template Modifications

Statistics by username in Google Analytics
Mod Version: 1.1, by tpearl5

vB Version: 4.x.x Rating: (3 votes - 4.67 average) Installs: 25
Released: 03 May 2012 Last Update: Never Downloads: 0
Not Supported Template Edits  

Have you ever wanted to see whose threads get the most traffic? Well, this simple addition can make that happen.

Open SHOWTHREAD

Find
HTML Code:
{vb:raw poll}
Add after:
HTML Code:
<script type="text/javascript">
_gaq.push(['_setCustomVar', 1, 'Author', '{vb:raw threadinfo.postusername}',1]);
</script>
This is assuming that your Analytics code is in the header of your site

The report will be available in Google Analytics under Custom Variables.

Update 5/21/2012: 1.1 - changed added Google Analytics tag from memberaction_update to SHOWTHREAD so multi-page threads will be tracked. For example, if someone lands on page 3 of a thread, the author will still be tracked in Analytics.

Download

No files for download.

Screenshots

Click image for larger version
Name:	vbulletin_username_track.jpg
Views:	785
Size:	45.7 KB
ID:	138192  

Similar Mods

Statistics Modifications Gravity Insights: advanced forum statistics & analytics vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024