AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.8K members online now
2.8K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Setting Up E-commerce steps

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I need your help to set up purchase steps via PayPal
On one page I need send two steps (2 and 3), and on the second step - to indicate an option.
When someone clicks Confirm on PalPal page, opens a temporary page on my website, that automaticly redirects a user to the last page (last step 3), where I want to indicate the option for the last step.

 

I want to use:
//page loaded

ga("ec:addProduct", {id: "id", name: "name", category: "category", brand: "brand", variant: "variant", position: 0, price: 0.01, quantity: 1});

ga("ec:setAction", "checkout", {step: 2, option: "PayPal"});

ga("send", "event", "Checkout", "Option", "PayPal");

 

//then sending step 3

ga("ec:addProduct", {id: "id", name: "name", category: "category", brand: "brand", variant: "variant", position: 0, price: 0.01, quantity: 1});

ga("ec:setAction", "checkout", {step: 3});

ga("send", "pageview");

//automaticly redirect to last page

//page have loaded

ga("ec:setAction", "checkout_option", {step: 3, option: "PayPal_Complete"});

ga("send", "event", "Checkout", "Option", "PayPal_Complete");

 

is correct?