We’re rewarding the question askers & reputations are being recalculated! Read more.
11

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: app/design/frontend/your_theme/default/template/page/html/head.phtml Add ...


9

I have added the code in success.phtml file, it is workging fine. $order = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId()); $total = $order->getGrandTotal(); $shipping = $order->getShippingAmount(); $tax = $order->getTaxAmount(); $store = Mage::app()->getStore(); $name = $store->getName(); $items = $order->...


9

You can copy and paste the following piece of code in your success.phtml /app/design/frontend/yourpackage/yourtemplate/template/checkout/success.phtml <?php $orderId = Mage::getSingleton('checkout/session')->getLastOrderId(); $order = Mage::getModel('sales/order')->load($orderId); $total = (float)number_format($order()->getSubtotal(),2); ?> ...


8

As Step1: you need to add conversion code on ordee success file app/design/frontend/yourpackage/yourtemplate/template/checkout/success.phtml if file no exits then: copy success.phtml from app/design/frontend/base/default/template/checkout/ and pasted app/design/frontend/yourpackage/yourtemplate/template/checkout/ add your code on new success....


6

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 ...


6

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/...


6

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 <MagentoBase>/app/design/frontend/<Vendor>/<theme>/Magento_GoogleAnalytics/layout then create ...


5

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 ...


5

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, ...


4

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. Solution 1: Assuming you are using some kind of custom package, you could copy googleanalytics.xml from /app/design/frontend/base/default/layout to ...


4

Please try to replace this: $result[] = sprintf("ga('ecommerce:addTransaction', { 'id': '%s', 'affiliation': '%s', 'revenue': '%s', 'tax': '%s', 'shipping': '%s' });", $order->getIncrementId(), $this->jsQuoteEscape(Mage::app()->getStore()->getFrontendName()), $order->...


4

Please use Google Code one time. To track different stores set 2 Analytic-Codes. CMS > SYSTEM > Current Configuration Scope > CHOOSE YOUR STORE and setup the Code for every store.


4

Try to disable cookie restriction: General -> Web -> Default Cookie Settings -> Cookie Restriction Mode -> No


4

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. Documentation: https://developers.google.com/tag-manager/devguide https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce I ...


4

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 ...


3

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 ...


3

see How do I add universal analytics to my magento store? Personally I'm using the fooman google analtics plus extension


3

I am not sure about all your requirements, but Google Analytics is default option in Magento. You can find it under System -> Configuration -> Google API -> Google Analytics.


3

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 ...


3

Make sure your Google Account Number is in Admin -> System -> Configuration -> Sales -> Google API and Enable is set to "Yes"


3

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 ...


3

There are many things that can interrupt the Google Analytics reporting. In my experience most of the time this is due to a Javascript error / exception in the code prior to the GA async push event. 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 ...


3

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 ...


3

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) Implement using a Custom JavaScript Macro For Data Layer you need to create the following ...


3

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 ...


2

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.


2

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 ...


2

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". The CMS page "Privacy Policy" (URL key "privacy-policy-cookie-restriction-mode") is used to inform the ...


2

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...


2

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 ...


Only top voted, non community-wiki answers of a minimum length are eligible