vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Team: Hot or Not? Ready for Traffic Explosion? vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! vBSEO Helps Forum Earn $100/day from Google AdSense Discover the Power of "Long Tail Search" Crawlability Inc. Files for SEO Technology Patent
se sw

Two Google Analytics urchinTrackers with Google Analytics Funnel for Registrations

This is a discussion on Two Google Analytics urchinTrackers with Google Analytics Funnel for Registrations within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I'm trying to troubleshoot a problem; vBSEO is generating two urchinTracker calls to Google Analytics when Google Analytics Funnel for ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-28-2006, 02:50 PM
Member
 
Real Name: Eric Chamberlain
Join Date: Sep 2006
Posts: 33
Question Two Google Analytics urchinTrackers with Google Analytics Funnel for Registrations

I'm trying to troubleshoot a problem; vBSEO is generating two urchinTracker calls to Google Analytics when Google Analytics Funnel for Member Registrations is active.

The page source code looks like this:

HTML Code:
<script type="text/javascript">
_uacct = "UA-668170-5";
_udn="voxilla.com";
urchinTracker();
</script>
<script type="text/javascript">
_udn="voxilla.com";
urchinTracker("/google-funnel/regform-show.html")
</script> 
I've searched through my templates to make sure urchinTracker() wasn't manually coded. It's not in the templates, so the only place I can think of where it comes from is vBSEO.

I did make the following changes to vBSEO Global Hook, but the change shouldn't make urchinTracker appear twice.

PHP Code:
if(@include_once(($GLOBALS['vbpath']?$GLOBALS['vbpath'].'/includes':dirname(__FILE__)).'/functions_vbseo.php'))
    
$output make_crawlable($output);
// added to support subdomain with Google Analytics - Eric Chamberlain
$output str_replace(
'urchinTracker(',
'_udn="voxilla.com";
urchinTracker('
,
$output); 
Any suggestions on how to fix it so urchinTracker is only called once with the funnel information?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 11-28-2006, 04:27 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 20,898
Blog Entries: 1
The first call is added by "Include Analytics tracking code" function for the stats, while the second one is added by another part of code which only tracks "virtual" URL for goal matching. If you want to track only virtual URL in this case, you can modify the hook code with something like:

PHP Code:
$output str_replace(
'urchinTracker();
</script> <script type="text/javascript">
urchinTracker('
,
'urchinTracker(',
$output);  
// added to support subdomain with Google Analytics - Eric Chamberlain
$output str_replace(
'urchinTracker(',
'_udn="voxilla.com";
urchinTracker('
,
$output); 
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 11-28-2006, 10:54 PM
Member
 
Real Name: Eric Chamberlain
Join Date: Sep 2006
Posts: 33
That works, thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 11-29-2006, 09:37 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 20,898
Blog Entries: 1
You are welcome!
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 02-04-2007, 12:54 PM
Junior Member
 
Real Name: Jeremy Luebke
Join Date: Jan 2007
Posts: 23
I am also running the forum on a subdomain and need to add '_udn="domain.com"; to the urchin code while using goal tracking. What file is this edit being made?

Code:
$output = str_replace(
'urchinTracker();
</script> <script type="text/javascript">
urchinTracker(',
'urchinTracker(',
$output);  
// added to support subdomain with Google Analytics - Eric Chamberlain
$output = str_replace(
'urchinTracker(',
'_udn="domain.com";
urchinTracker(',
$output);   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 02-05-2007, 08:58 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 20,898
Blog Entries: 1
It's in vB admincp->plugins->vBSEO Global Hook.
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Google Analytics Funnel problems lafsunlmtd General Discussion 8 06-21-2006 01:49 PM
Google Analytics account (Urchin) With free US$25 Adwords account for sale madvirus Off-Topic & Chit Chat 3 06-13-2006 09:59 AM
Google is All About Search: 4 New Products Joe Ward SEO Buzz 0 05-16-2006 01:52 PM
Google Analytics - New Free Tool! skizzy203 Analysis: Traffic & SERPS 29 11-22-2005 06:06 AM


All times are GMT -4. The time now is 02:11 PM.


Powered by vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.