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

Analytics - Event tracking code not capture all the btn clicks #6938

Closed
4 tasks done
mheppler opened this issue May 26, 2020 · 2 comments · Fixed by #7008
Closed
4 tasks done

Analytics - Event tracking code not capture all the btn clicks #6938

mheppler opened this issue May 26, 2020 · 2 comments · Fixed by #7008
Assignees
Milestone

Comments

@mheppler
Copy link
Contributor

mheppler commented May 26, 2020

Here are is the current list of known analytics event tracking issues for the new action button UI (#6684) on the file and dataset pg. Changes to fix these will require release notes for sysadmins to update their installation's analytics code if they use event tracking code provided in the Installation Guide.

FILE PG

  • btn-explore, access file btn
  • btn-compute ??
  • btn-preview ??

DATASET PG

  • btn-download w/dropdown file table header
  • btn-download w/dropdown file table row (tabular)
  • btn-explore, access dataset btn
  • btn-compute ??
  • btn-preview ??

Will review with @qqmyers on any changes as QDR is also currently running the analytics event tracking code.

@mheppler mheppler added this to Needs Discussion Before Ready 💬 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) May 26, 2020
@mheppler mheppler self-assigned this May 26, 2020
@mheppler mheppler added this to the Dataverse 5 milestone May 26, 2020
@mheppler mheppler moved this from Needs Discussion Before Ready 💬 to IQSS Team - In Progress 💻 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Jun 8, 2020
@mheppler mheppler changed the title Access Dataset/File btns (New UI) - Analytics event tracking code not capture all the btn clicks Analytics - Event tracking code not capture all the btn clicks Jun 11, 2020
@sekmiller sekmiller self-assigned this Jun 15, 2020
@mheppler
Copy link
Contributor Author

Revised the sample analytics event tracking code provided in the guides. Provided @qqmyers the code to review. This should resolve tracking issues in the new UI as well as the 4.20 version of the UI with dropdown menu options clicks not getting tracked.

  • add new #actionButtonBlock .btn-access-dataset + ul.dropdown-menu selector to the getFileId function to track clicks in the new 5.0 “Access Dataset” btn with dropdown menu
  • add new .btn-download.dropdown-toggle + ul.dropdown-menu li a selector to the download, explore, compute and preview btns in order to track clicks in the new 5.0 UI as well as fix clicks that were not tracked on dropdown menu options in 4.20

@mheppler
Copy link
Contributor Author

With the download btn refactoring spun off into issue Download Buttons - consolidate render logic #7006, I am moving this issue forward. Compute btn will be address at another time. Preview btn will be address as part of Preview Tools - Remove external preview tools connection to Explore btn on dataset/file pgs #6919.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants