-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 UTM parameters to Dashboard login buttons #7639
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably add a test here, since we're not technically testing that this link in the project setup modal is correctly routing to the dashboard route.
@jennifer-shehane Turns out I was putting the UTM parameters on the wrong links, I've updated it now. I'm fairly unfamiliar as to how to write a full e2e test that will check for full functionality here as these changes span both |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fairly unfamiliar as to how to write a full e2e test that will check for full functionality here as these changes span both
desktop-gui
andserver
. I'm also unsure of whether Google Analytics will actually pick up on the UTM parameters when sent through this method, so essentially there needs to be additional testing all around.
@panzarino I don't think you need a full e2e test for this. Probably just a Cypress test in desktop-gui
that verifies that the UTM code is sent to the IPC channel, and then a unit test in the server
auth_spec
that verifies that the expected URL is generated. You could also add a test in events_spec
that the IPC event calls beginAuth
properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
Additional details
Adds tracking to dashboard login links
PR Tasks