简体   繁体   English

Google Magento电子商务跟踪

[英]Google Ecommerce Tracking for Magento

I am having some difficulty in getting google's eCommerce tracking working consistently for Magento. 我在让Google的电子商务跟踪在Magento上始终如一地工作时遇到了一些困难。 I have set the UA code in the google api section of the admin and eCommerce tracking is switched on. 我已在管理员的Google api部分中设置了UA代码,并且电子商务跟踪已打开。 When I go to the success page the code is there. 当我转到成功页面时,代码在那里。 Some orders are being sent but not all. 正在发送一些订单,但不是全部。 I have installed google chromes analytics tester and the beacon is being sent. 我已经安装了谷歌浏览器分析测试仪,并且正在发送信标。 Take yesterdays orders for example, 1 from sagepay is in analytics however another sagepay order is not which rules out payment gateway. 以昨天的订单为例,分析中来自sagepay的订单为1,但不是另一个排除付款网关的sagepay订单。 I have re-set the permissions on the success page and tidied up a couple of warnings in the console but nothing is working i'm pretty stumped. 我已经在成功页面上重新设置了权限,并在控制台中整理了一些警告,但没有任何效果,我很困惑。

I have also installed Jiraffe real-time analytics and am having the same problem with that tracking orders, it didn't track a single order yesterday but is tracking cart data fine. 我还安装了Jiraffe实时分析,并且在跟踪订单方面遇到了同样的问题,它昨天没有跟踪单个订单,但是可以很好地跟踪购物车数据。

Does anyone have any suggestions? 有没有人有什么建议?

Thanks 谢谢

First of all not every user who uses payment gateway is comming back to your success page as some of them are just leaving the transaction at thank you page on third party services - then you won't see such transaction in GA. 首先,不是每个使用支付网关的用户都回到您的成功页面,因为其中一些用户只是将交易留在第三方服务上的“感谢”页面上-这样您就不会在Google Analytics(分析)中看到此类交易。 Second of all not every user let you to track him (adblock is preventing its users to be tracked). 第二,不是每个用户都允许您跟踪他(adblock阻止了对其用户的跟踪)。

As for now please just reply if you are sure that users got back to Magento's success page. 至于现在,如果您确定用户返回了Magento的成功页面,请仅答复。

To get a much better overview of yours customer behaviour I would recommend you to install this extension Fooman Google Analytics Plus and set up proper funnels (you'll find brief instruction at extensions page) 为了更好地了解您的客户行为,建议您安装此扩展程序Fooman Google Analytics Plus并设置适当的渠道(您可以在扩展程序页面中找到简要说明)

I would suggest that you check the formating of data passed to GA : 我建议您检查传递给GA的数据的格式:

  • prices should be formated as "1200000.00" : no separator for thousands, dot as decimal separator, no currency 价格格式应为“ 1200000.00”:千位分隔符,小数点分隔点,无货币
  • text values should be escaped properly quotes contained in them: 'That\\s it' 文本值应正确转义其中包含的引号:“就是这样”

The Fooman extension is a good start since the basic GA implementation in Magento is a shame of non sense, while not perfect. Fooman扩展是一个良好的开始,因为Magento中的基本GA实施是一种无意义的耻辱,尽管并不完美。

Google tracking in Magento : Magento中的Google跟踪:

Open the Magento Admin area and navigate to System->Configuration->Sales->Google API. 打开Magento管理员区域,然后导航至系统->配置->销售-> Google API。 Expand the Google Analytics section. 展开Goog​​le Analytics(分析)部分。 Pick the Yes option from the Enable drop-down menu. 从“启用”下拉菜单中选择“是”选项。 Enter the Google Analytics account number in the Account number field. 在帐号字段中输入Google Analytics(分析)帐号。 Click on the Save Config button. 单击保存配置按钮。

Thanks..!! 谢谢..!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM