-
Notifications
You must be signed in to change notification settings - Fork 286
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
Setup completion tracking no longer working as expected #9039
Comments
IB ✅ |
QA Update: ❌@zutigrm I have three observations:
ga-events.mp4 |
Thanks @wpdarren , the points 2 & 3 were just an added bonus not something that was tracked before, or part of the requirements, so I will remove tracking from view only, as it will consume to much effort, will focus only on first point around GCP setup |
@wpdarren I was just looking at this with @zutigrm and confirmed the only issue to fix here is around the tracking when not using the proxy. We verified that the second admin is tracked correctly as well as the sign in from the view-only user menu. It seems the reason you didn't see it is due to not opting in to the tracking, as can be seen in your screencast so that would be WAI ;) @zutigrm is working on finishing up his follow-up PR for the GCP side and this should be back in QA soon. |
Back to you @wpdarren 👍 |
@aaemnnosttv oops, that was stupid of me, noted. QA Update:
|
Thanks @wpdarren , I left my comment in slack thread, with some info for @aaemnnosttv - as I will need your confirmation on the direction, TLDR - since connected status is always |
QA Update: ✅Verified:
Note: we decided not to concern ourselves with GCP GA events, and I can confirm for the events are getting tracked as per the AC after successful setup, regardless of setting it up with GA4 or without. |
Bug Description
There are a few internal events that are tracked to measure the success of SK onboarding flows which complement
start_site_setup
andstart_user_setup
events respectively.complete_site_setup
when the initial SK setup is completedcomplete_user_setup
when a user successfully signs in with Google (initial connection, not each time when granting new scopes)These are currently implemented in our success banner component which isn't really the right place (for a few reasons) anyways.
Steps to reproduce
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
complete_site_setup
{viewContext}_setup
proxy
orcustom-oauth
complete_user_setup
{viewContext}_setup
proxy
orcustom-oauth
Note: these events are not mutually exclusive
Implementation Brief
useGlobalTrackingEffect
)trackEvent
, delete the related cache item for the event about to be tracked. This way it shouldn't be necessary to also track state for the purpose of avoiding duplicate trackinguseMount
for this kind of thing but we could probably also use a normaluseEffect
withviewContext
as the dependency as a more SPA-friendly approach (if/when we get there)Header
component to use the new effectHeader
ensures that these events are tracked reliably in situations where a user might not land back on the dashboard right away (such as the site setup including GA)SetupSuccessBannerNotification
to remove everything related to the tracking of these eventsTest Coverage
QA Brief
Help us improve Site Kit by sharing anonymous usage data.
and start the Site Kit setupSign in with Google
, upon returningcomplete_user_setup
event should be trackedChangelog entry
The text was updated successfully, but these errors were encountered: