Skip to content
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

Disable custom GA tracking events for all except MSK managed portals… #3338

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

alisman
Copy link
Collaborator

@alisman alisman commented Jul 30, 2020

… (leaves out-of-box GA)

Fixes cBioPortal/cbioportal#7671

@alisman alisman changed the title Shut off custom GA tracking events for all except MSK managed portals… Disable custom GA tracking events for all except MSK managed portals… Jul 30, 2020
@alisman alisman requested a review from inodb July 30, 2020 17:56
);
// trackEvent is used to send custom UI events which may depend on custom configuration within GA
// for other installers, we want to shut these off, leaving them with bare-bones out-of-box GA implemenation
if (/cbioportal\.org$/.test(getBrowserWindow().location.host)) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@inodb i think this should catch all our portals, or at least those we are tracking with GA. whachu think?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe also track *.mskcc.org portals?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@inodb good catch! updated

@inodb inodb merged commit 1a71e84 into cBioPortal:master Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants