We need an additional custom dimension to understand what percentage of site owners opted in to the anonymous tracking within the plugin.
_Do not alter or remove anything below. The following sections will be managed by moderators only._
Add custom dimensions to keep track of whether site owners opt in for anonymous tracking.
1) Whenever a user checks the "Help us improve.." box during setup from the Plugins page
Type: Event
Trigger: Click
Category: tracking_plugin
Action: analytics_optin_setup_banner
2) Whenever a user checks the "Help us improve.." box to opt in during setup from the landing page:
Type: Event
Trigger: Click
Category: tracking_plugin
Action: analytics_optin_setup_fallback
3) Whenever a user checks the "Help us improve.." box to opt in during setup from the Settings page:
Track type: Event
Trigger: Click
Category: tracking_plugin
Action: analytics_optin_settings_page
Depends on #1055
enableTracking() utility and call sendTrackingEvent() with the proper event data<Optin> to accept a new optinAction prop, which would contain the value to pass as the event action in the tracking event<Optin> to pass the appropriate optinAction<ActivationMain> as analytics_optin_setup_banner <SettingsAdmin> as analytics_optin_settings_page<SetupUsingProxy> as analytics_optin_setup_fallback<WizardStepAuthentication> as analytics_optin_setup_fallback


tracking_plugin for the event categoryanalytics_optin_setup_banner actionanalytics_optin_setup_fallback actionanalytics_optin_settings_page action@marrrmarrr a few questions for you about this:
@aaemnnosttv For now, we should only track when somebody opts in (basically anytime somebody enables the checkbox).
@aaemnnosttv I like the ideas from the IB, they seem closely related to the #1055 work though. Can we include them there instead? We can leave this issue here as blocked, and focus on the necessary infrastructure first.
@aaemnnosttv Whenever you get to it, can you revise this IB based on the implementation for #1055?
IB ✅
Confirmed the latest build functions.
Installed Tag Assistant.

Need Dev assistance, as I'm not seeing what is shown on the QA brief
You need to click Record first before Tag Assistant can inspect/observe events on the page. This is only needed at the beginning, not on every single page view.
Edit: it looks like you just needed to reload the page after initially enabling Tag Assistant.
Tested
Checked Tag Assistant on the Activation page via Dashboard

Activation via Plugins page

Settings page:

Passed QA ✅
Verified these events are recorded in GA as well. LGTM