jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Boost: Multiple track events to CTA called just by opening admin page

Open dilirity opened this issue 1 year ago • 4 comments

This is on 3.0.0-beta just by refreshing the page. I have set up free Boost.

Image

dilirity avatar Jan 26 '24 13:01 dilirity

Reviewing the events, you see:

  • boost_view_upsell_cta_in_settings_page_in_plugin twice, and
  • boost_page_view_settings.

The only problem I see is that the first is called twice. One tracks the upsell being shown in the settings page, the other tracks that you viewed the settings page.

thingalon avatar Jan 30 '24 06:01 thingalon

Is this something we should fix or is it okay?

dilirity avatar Feb 02 '24 14:02 dilirity

It seems like something worth investigating / fixing. It wasn't a blocker to the 3.0.0 release, but it'd be nice to avoid double events.

thingalon avatar Feb 05 '24 01:02 thingalon

I decided to remove boost_view_upsell_cta_in_settings_page_in_plugin in #36216, as it doesn't make sense to have such an event.

The name also suggests that the user views it, which might not always be the case, as users might see the top one, but not the bottom one. It's always triggered when the upgrade CTA is mounted (which in our case is 2 times in the main Settings page).

dilirity avatar Mar 06 '24 13:03 dilirity