wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

Enhance Delay JavaScript oneclick UI

Open DahmaniAdame opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Currently, the Analytics & Ads tab is holding items outside of what the title describes.

A couple of examples:

  • Hubspot (to show forms on page load)
  • Google optimize (mainly for AB testing)
  • Google Maps (show maps)
  • Wistia (show videos)
  • Stripe (load payment)
  • Refari (job board)
  • Typekit (manage fonts)

Having one category for them all simplifies the interface but the cost is not showing potential exclusions that customers can use in a human-readable way and without hitting the support.

To better organize this part, let's do the following:

Separate WordPress related exclusions vs. 3rd party exclusion by creating two separate groups:

image

The WordPress groups will hold:

  • Themes
  • Plugins

And the 3rd party group will hold descriptive tab titles for their scripts types category. Example:

  • Trackers
  • Ad Networks
  • Payment Processors
  • Other Services

We need a reasonable threshold of having a separate.

Anything below the threshold will be part of the Other Services tab.

The implementation will require adding the additional scripts category labels as part of the Type field, and updating all current entries.

Once done, we will have better visibility of the threshold to apply.

Additional context Discussed on Slack - https://app.slack.com/client/T02RYMVKQ/C04M1V3DLPK/thread/C04M1V3DLPK-1683794776.011499

DahmaniAdame avatar Aug 04 '23 07:08 DahmaniAdame

@DahmaniAdame Thinking loudly, I wonder what'll be the impact for older versions when changing the categories. Especially, for people who:

  1. Are on the older version
  2. Have already excluded some affected 3rd-parties
  3. Update the list to the new one

That's something to be tested

piotrbak avatar Aug 04 '23 09:08 piotrbak

@piotrbak one way to possibly avoid adding any complexity is to keep the type script and add a subtype/category field on the backend. Let's hear from @wp-media/php what would be the most efficient way to manage backward compatibility.

DahmaniAdame avatar Aug 04 '23 10:08 DahmaniAdame