1
votes

I integrated Google Enhanced Ecommerce on a project and integrated calls for the various checkout steps (billing address, shipping address, shipping method and payment method). I'm correctly sending the 'set_checkout_option' event and I set the steps for GA administration, but I still see the steps not populated. Has anyone been in the same situation?

PS: Billing address I think it is always populated because of course it is step 1 and it takes it automatically with the 'begin_checkout' event.

enter image description here

enter image description here

1
Could you please share the relevant part of your code?kgrg
ex: gtag('event', 'set_checkout_option', { "checkout_step": 2, "checkout_option": "payment_method" "value": "paypal" });BOES
Are you using the checkout_progress call as well? I think the set_checkout_option can be used to decorate already tracked steps.kgrg
Yes, checkout_progress is called immediately after set_checkout_option. gtag('event', 'checkout_progress', { "items": {..}, "coupon": "" });BOES

1 Answers

4
votes

You have to add the checkout_step parameter when calling the checkout_progress event.

gtag('event', 'checkout_progress', {
    "checkout_step": 2,
    "items": [...]

});
gtag('event', 'set_checkout_option', {
    "checkout_step": 2,
    "checkout_option": "payment_method",
    "value": "paypal"
});