Magento Forum

Wrong url in funnel
 
baptopo
Jr. Member
 
Total Posts:  1
Joined:  2010-05-04
 

Hi,
Thanks for the extension but i’ve got an issue with the url configuration
Instead of displaying and tracking the following URLs in goals /checkout/onepage/ it was following /checkout/onepage/www.ceno.fr (www.ceno.fr is the website), I already check the configuration of the funnel, everything seems ok.
The problem only appears with url with trailing slash : checkout/cart/, checkout/onepage/ and checkout/success/
Does anybody has the same problem ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
FOOMAN
Guru
 
Avatar
Total Posts:  669
Joined:  2007-12-13
Auckland, New Zealand
 

I have seen this once before, but don\’t know the cause of it. Can you try the following
in
app/code/community/Fooman/GoogleAnalyticsPlus/Block/Ga.php

replace

$pageName str_replace('index/','',$pageName)

with

$pageName rtrim(str_replace('index/','',$pageName), '/');

and report back here.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top