mozilla / sumo

Project management board for SUMO and Community properties.
Mozilla Public License 2.0
14 stars 5 forks source link

[GA4] The dmw_state_report with configure-sync param is sent multiple times when refreshing the switching-devices kb article page #1718

Closed emilghittasv closed 7 months ago

emilghittasv commented 7 months ago

Preconditions Ensure that you are signed in to FxA sync.

Steps to reproduce Steps to reproduce the behavior:

  1. Go to https://support.allizom.org/en-US/kb/switching-devices and make sure that your are on the step 2 of the Wizard.
  2. Refresh the page.

Expected behavior Only one dmw_state_report event with configure-sync param is sent.

Actual behavior The dmw_state_report event with the configure-sync param is sent 3 times.

Screencasts dmw_state_report_configure_sync

Desktop:

escattone commented 7 months ago

This issue won't cause any problems with our Google Analytics funnels that use this data, because the funnels are counting users with the reported state rather than the number of events. It's good to know about this, but I'm going to close this, since reporting the state multiple times on a state transition doesn't affect our interpretation of the data.