Adding Google Analytics to vBulletin (Updated)

Remember two weeks ago I wrote an article on Adding Google Analytics to vBulletin? Well here is an update for users such as myself of vBSEO.

Just use the vBSEO feature but do not use both. It offers better control over Analytics features, such as funnels (for goals, and outbound tracking) plus user segmentation (users/guests/etc seperation in “user defined” visitor reports).

Plus, there’s no template revert required on upgrades.

Popularity: 35% [?]

Post to Twitter Post to Digg Post to Facebook Post to StumbleUpon

How to add a left or right column to your vBulletin site

Here I’ll show you how to add a left or right column to your vBulletin site. I have done this to my site so if you do this correctly it works.

Left Column: Admin CP -> Styles & Templates -> Style Manager -> Click on <<>> to expand the templates.

Add the orange code to the header:

<!– logo –>
<a name=”top”></a>
<table border=”0″ width=”$stylevar[outertablewidth]” cellpadding=”0″ cellspacing=”0″ align=”center”>
<tr>
<td align=”$stylevar[left]“><a href=”$vboptions[forumhome].php$session[sessionurl_q]“><img src=”$stylevar[titleimage]” border=”0″ alt=”$vboptions[bbtitle]” /></a></td>
<td align=”$stylevar[right]“>
&nbsp;
</td>
</tr>
</table>
<!– /logo –>

<table width=”$stylevar[outertablewidth]” border=”0″ cellpadding=”0″ cellspacing=”0″ align=”center”>
<tr>

<td width=”150″ valign=”top” class=”page” style=”padding: $stylevar[cellpadding]px;”>
YOUR CONTENT HERE
</td>

<td valign=”top”>

<!– content table –>
$spacer_open

$_phpinclude_output

and add the orange code to the footer:

<br />
<div class=”smallfont” align=”center”>$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!– /content area table –>

</td>

</tr>
</table>

<form action=”$vboptions[forumhome].php” method=”get”>

Right Column: Admin CP -> Styles & Templates -> Style Manager -> Click on <<>> to expand the templates.

Add the red code to the header:

<!– logo –>
<a name=”top”></a>
<table border=”0″ width=”$stylevar[outertablewidth]” cellpadding=”0″ cellspacing=”0″ align=”center”>
<tr>
<td align=”$stylevar[left]“><a href=”$vboptions[forumhome].php$session[sessionurl_q]“><img src=”$stylevar[titleimage]” border=”0″ alt=”$vboptions[bbtitle]” /></a></td>
<td align=”$stylevar[right]“>
&nbsp;
</td>
</tr>
</table>
<!– /logo –>

<table width=”$stylevar[outertablewidth]” border=”0″ cellpadding=”0″ cellspacing=”0″ align=”center”>
<tr>

<td valign=”top”>

<!– content table –>
$spacer_open

$_phpinclude_output

and add the red code to the footer:

XX

<br />
<div class=”smallfont” align=”center”>$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!– /content area table –>

</td>

<td width=”150″ valign=”top” class=”page” style=”padding: $stylevar[cellpadding]px;”>
YOUR CONTENT HERE
</td>

</tr>
</table>

<form action=”$vboptions[forumhome].php” method=”get”>

In either scenario: Admin CP -> Styles & Templates -> Style Manager -> Click on <<>> to expand the templates. -> spacer_open

Replace the blue code:

<!– open content container –>
<if condition=”$show['old_explorer']“>
<table cellpadding=”0″ cellspacing=”0″ border=”0″ width=”$stylevar[outertablewidth]” align=”center”><tr><td class=”page” style=”padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px”>
<else />
<div align=”center”>
<div class=”page” style=”width:$stylevar[outerdivwidth]; text-align:$stylevar[left]“>
<div style=”padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px”>
</if>


…with the green code:


<!– open content container –>
<if condition=”$show['old_explorer']“>
<table cellpadding=”0″ cellspacing=”0″ border=”0″ width=”100%” align=”center”><tr><td class=”page” style=”padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px”>
<else />
<div align=”center”>
<div class=”page” style=”width:100%; text-align:$stylevar[left]“>
<div style=”padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px”>
</if>

Popularity: 38% [?]

Post to Twitter Post to Digg Post to Facebook Post to StumbleUpon

Adding Google Analytics to vBulletin

Here I’ll show you how to add Google Analytics to your vBulletin forum.

This is for Joomla 1.5x

  • Login to your Administration Control Panel 
  • AdminCP > Styles & Templates > Style Manager > Click on <<>> to expand the templates. 
  • Select and double click on the footer template.
  • ** IMPORTANT** If you were given a choice when you signed up for a Google Analytics account to choose between the new tracking code (ga.js) or the old tracking code (urchin.js) choose the new tracking code.
  • Scroll all the way to the bottom of the code and add the tracking code by itself on the last line of the template. 
  • Press “Save”
  • I suggest you now go to Google Analytics and check next to your site’s URL. Hopefully you will see “Gathering Data” and you’ll know you were successful. If you see “Tracking Not Installed” try it again.

Good luck. That’s all folks!

Popularity: 87% [?]

Post to Twitter Post to Digg Post to Facebook Post to StumbleUpon

Use vBSEO for search engine optimization

If you are a web master and/or owner of a vBulletin site such as I am, www.dumontnjforum.com, please seriously consider purchasing vBSEO for your search engine optimization needs.

Out of the box vBulletin uses .php files with a string of numbers after it to distinguish what you are looking at. These are called dynamic links and while this is wonderful for humans search engines prefer what is known as static .html links.

Even a default installation of vBSEO will do wonders for your forum. vBSEO is a complete SEO solution. I have tweaked many settings of mine to get the optimal results for my forum. And, I do plan on changing more settings when the situation arises. The search engine optimization plugin changes the characteristics of an existing vBulletin forum. The simple 5 minute installation will help you build relevant incoming links, improve Adsense earnings, and attract more visitors. And these are just a few of many different features.

Popularity: 20% [?]

Post to Twitter Post to Digg Post to Facebook Post to StumbleUpon