-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom events for the analytics tracking box during setup #1049
Comments
@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 ✅ |
Edit: it looks like you just needed to reload the page after initially enabling Tag Assistant. |
Verified these events are recorded in GA as well. LGTM |
Feature Description
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.
Acceptance criteria
Add custom dimensions to keep track of whether site owners opt in for anonymous tracking.
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
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
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
Implementation Brief
Depends on #1055
enableTracking()
utility and callsendTrackingEvent()
with the proper event data<Optin>
to accept a newoptinAction
prop, which would contain the value to pass as the event action in the tracking event<Optin>
to pass the appropriateoptinAction
<ActivationMain>
asanalytics_optin_setup_banner
<SettingsAdmin>
asanalytics_optin_settings_page
<SetupUsingProxy>
asanalytics_optin_setup_fallback
<WizardStepAuthentication>
asanalytics_optin_setup_fallback
QA Brief
Click
Click into "Events" at the bottom to see the event category and action
tracking_plugin
for the event categoryanalytics_optin_setup_banner
actionanalytics_optin_setup_fallback
actionanalytics_optin_settings_page
actionChangelog entry
The text was updated successfully, but these errors were encountered: