openfoodfoundation / Analytics

A repository to share progress on Analytics work
GNU Affero General Public License v3.0
0 stars 0 forks source link

[Checkout] Expired card blocking checkout #13

Open filipefurtad0 opened 10 months ago

filipefurtad0 commented 10 months ago

What is the question we want to answer?

How often are users experiencing the situation that checkout is blocked due to an expired (default) card?

What type of data do we need to answer this question (and how to get it, if known)?

We can track this I think by setting up an event occurring on the /payment step of checkout. Other options would be to set this up via page view (by creating a page view tag/trigger)

Potential solutions that will solve the problem?

Matomo.

Additional context

https://github.com/openfoodfoundation/wishlist/issues/496

filipefurtad0 commented 8 months ago

Hey @wuchristina,

As we've chatted, here's a previously set up example which could work to track down the red flash element / alert-box, appearing on the payment step of checkout (/checkout/payment) for this issue:

The trigger was set up like so:

image

We could then try to further restrict results (yellow underlined) by stating the URL of the payment step.

And the respective tag:

image

Hope this helps getting you started :muscle:

wuchristina commented 8 months ago

Thanks @filipefurtad0 for the pointers! Updated in the OFN USA Tag Manager & will track/tweak into next week.