问题
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