You have to add the new Universal Analytics code your your head.phtml file in your template. You can choose to disable the Google API or keep it active as well.
Your head.phtml file is located at: app/design/frontend/base/default/template/page/html/head.phtml
Just copy to your theme:
You can copy and paste the following piece of code in your success.phtml
$orderId = Mage::getSingleton('checkout/session')->getLastOrderId();
$order = Mage::getModel('sales/order')->load($orderId);
$total = (float)number_format($order()->getSubtotal(),2);
you need to add conversion code on ordee success file
if file no exits then:
copy success.phtml from
add your code on new success....
Universal analytics isn't yet supported out of the box in Magento (as at CE 1.7), so to add it to your site you need to modify your site theme.
The Universal Tracking code is also compatible with the old code, so if you are adding this to an existing site the Google recommendations are to start by running them both together to make sure there are no gaps in ...
In my opinion you would need to put paypal.com on the exclusion list and then it should work as usual again. I have had the same experience but this should be explained in the following links, just have a quick read through.
Link 1: https://productforums.google.com/forum/#!topic/analytics/vpEQwRHE-1w
Link 2: https://support.google.com/analytics/answer/...
I hope you have found the answer to it, if not here is a simplest solution to it
In you theme add directory Magento_GoogleAnalytics > layout.
Magento_GoogleAnalytics is Google Analytics module by Magento team.
It will then look like this
then create ...
Yes it does. There is a Google Analytics module. To activate, insert your GA UA-code into the System > Configuration > Google API administration area:
By default this is the GA Async version - not the new universal analytics code. After enabling and input of your UA you should then see it show up in your page source.
Events like ecommerce conversion ...
So I had the pleasure of attempting to set these up (with the lack of offical docs) and seem to have it working now.
My understanding is that rather than using tracking based on success page, we need to use the events, so for conversions Magento fires a "purchase" event that we need to hook onto.
So along with the PageView tag I have this Purchase tag, ...
Check to see if the Fooman extension adds a layout file. More than likely, it is adding a second block that is also generating the analytics you reference. Once you find it, you can reconcile the blocks.
Assuming you are using some kind of custom package, you could copy googleanalytics.xml from /app/design/frontend/base/default/layout to ...
Magento 2 Enterprise Edition include this feature out of the box.
You can use Google Tag Manager in order to track product add to cart event and product remove to cart event and many other events.
You can configure the option by following below path in Magento 2 admin.
Stores -> Configuration -> General (Left side) -> Design (section) -> Search Engine Robots -> Default Robots (Select)-> Select
1. INDEX, FOLLOW
2. NOINDEX, FOLLOW
3. INDEX, NOFOLLOW
4. NOINDEX, NOFOLLOW
Save the configuration as you need. clean and flush cache. You need to select ...
Track traffic with Google Analytics With the help of Google Analytics, you can track and measure traffic to your extension's or app's details page in the Chrome Web Store. For more details on using Google Analytics, see the Getting Started Guide in the Google Analytics Help Center.
Set up Google Analytics for your item's details page
Sign in to ...
Google Analytics records all incoming sales, Magento removes all cancelled sales.
The discrepancy between Magento reported sales and Google Analytics e-commerce sales grows over time.
Google Analytics is only an indicator of activity, not a record of your successful sales. In the sales department, you're going to find that Google Analytics is an Ego ...
A very common cause is that people close the page as soon as they see their transaction went ok. The GA code doesn't have a chance to load and send data.
This is aggravated if there's other resources on the page that prevent DOM loaded JS from firing.
It seems a bit on the high side though, but if you have New Relic for both Application and Browser you ...
Other times there is an exception in the PHP code which is happening somewhere on the page that is not visible. I have seen sites where this happens in the ...
I start at the beginning to make it all clear.
1. Create a New Macro in GTM
Head over to GTM and create a new data layer variable macro. Name it as google tag params and variable name as google_tag_params and save it.
2. Create a Firing Rule
Create a new firing rule with condition [event equals fireRemarketingTag] and save it.
3. Create a Remarketing ...
In most implementations, you should enable Enhanced Ecommerce on each of your Universal Analytics pageview or event tags. You have two options for enabling Enhanced Ecommerce in the tag editor screen of the web interface:
Implement using the Data Layer (Recommended)
For Data Layer you need to create the following ...
It's feasible with Magento out of the box.
To do so, you need to:
go to the backend under System > Configuration
access the Google API under the Sales tab
Imagine store 1 needs Google Analytics.
In the store view dropdown, select store 1:
Confirm the popup by clicking OK.
Now that you're on the store 1 view configuration scope:
click the Google ...
Are you using the latest version of our extension? It comes with a setting
System > Configuration > Google Api > Fooman Google Analytics+ > Convert Currency
which sounds like it would do what you are looking for.
Interestingly there has been a development on the EU cookie regulations in the UK in that the ICO has today announced they themselves will be implementing implied consent from the end of the month. http://www.ico.gov.uk/news/current_topics/changes-to-cookies-on-our-website.aspx
I know that doesn't necessarily help those in other EU countries but the ...
Magento respects the EU cookie law by a new feature introduced in Magento CE 1.7 and Magento EE 1.12.
You can activate the "Cookie Restriction Mode" by enabling this option in "System" > "Configuration" > "General" > "Web" > "Session Cookie Management".
Try this extension http://www.magentocommerce.com/magento-connect/google-analytics-by-fooman.html
It will help you funnel your checkout.
If your customer tells the account they are using; sales reps can see the cart in the account overview and finish from there...
1) Would i have to make an extension on the GA block class to get the $_SERVER to check whether it should return null or the JS code
Yes I think you need to add your own code. A way to detect the DNT header can be found from Robert Lerner
2) Would there be any way to do that on XML
I think no. What you could do is implement a helper and depending on the ...