Google Analytics Enhanced Ecommerce

吃可爱长大的小学妹 提交于 2019-12-11 05:42:01

问题


I am using Google Analytics Enhanced Ecommerce on my site and I encounter this specific problem.

My Checkout 3rd Step is on the same page where I am measuring my transaction.

Should I implement it like this?

    ga("ec:addProduct", {values_here});
    ga("ec:setAction", "checkout", {step: 3});
    ga("ec:setAction", "purchase", {values_here});
    ga("send", "pageview")

Based on the Google Analytics Debugger. I can only set 1 action per send pageview. How am I going to send my checkout step 3? is this correct? Will I send double page tracking with this?

    ga("ec:addProduct", {values_here});
    ga("ec:setAction", "checkout", {step: 3});
    ga("send", "pageview")

    ga("ec:setAction", "purchase", {values_here});
    ga("send", "pageview")

Thanks


回答1:


Based on: Enhanced Ecommerce

I believe you can set the checkout step as part of the action data for a purchase action.




回答2:


Google Analytics always add the last step to Checkout Behavior Analysis and Shopping Behaviour Analysis Reports as Sessions with Transactions so you don't really need to add that as a step because it is not going to add any value. See screenshot for reference



来源:https://stackoverflow.com/questions/26404932/google-analytics-enhanced-ecommerce

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!