Closed hostep closed 8 years ago
Thanks for the feedback - getBasePageName would also need to be amended as it's used during checkout.
Hi, Is this fixed in latest version or do we have to change code?
Thanks George
Hi @geo782
I created a pull request which isn't merged into master yet, you can manually merge this on top of the code you have checked out.
PR: https://github.com/fooman/googleanalyticsplus/pull/81
@fooman: can this get merged in master, or is there something wrong with the PR which I should fix?
Hi
On most of our Magento webshops we have enabled the setting 'Add Store Code to Urls' (System => Conf => Web). So we can have different storeviews on http://domainname.com/en/, http://domainname.com/nl/, http://domainname.com/fr/, ...
But we just noticed this store code isn't added to the url in the
pageview
param in the universal analytics code.I think you can solve it by changing the code in
Fooman_GoogleAnalyticsPlus_Block_Common_Abstract::getPageName
to:I haven't tested this very thoroughly though.
The
getBasePageName
method might need an update too, but I haven't checked out what it is used for yet.What do you think?
Thanks!