xwp / site-performance-tracker

Allows you to detect and track site performance metrics
GNU General Public License v2.0
96 stars 15 forks source link

Disable custom dimensions for GA4 #115

Closed Tonnie-Exelero closed 1 year ago

Tonnie-Exelero commented 1 year ago

Currently, when GA4 Analytics is selected in the plugin settings, the three custom dimensions input fields are showing. With GA4, we don't need to set up the custom dimensions since they are already included. This is only needed when GA and GTM are selected.

Acceptance Criteria

  1. Do not show the following input fields in the settings UI when GA4 Analytics is selected under Analytics Types:

    • Measurement Version
    • Event Meta
    • Event Debug
  2. Ensure that when GA4 is selected, and inputs added, the settings can successfully save after removal of the custom dimensions input fields

bharatpareek commented 1 year ago

Working on this.