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

Set up Google Analytics #50

Closed
1 task done
Shreyanand opened this issue Jul 14, 2021 · 5 comments
Closed
1 task done

Set up Google Analytics #50

Shreyanand opened this issue Jul 14, 2021 · 5 comments
Assignees
Labels
area/telescope Issues or PRs related to Team Telescope

Comments

@Shreyanand
Copy link
Member

Shreyanand commented Jul 14, 2021

For issue #18, set up google analytics dashboard for the Meteor Webpage by testing it with a fork of the Elyra tutorial web application. Once it is available, we will customize the dashboard to reflect our requirements.

To do:

  • Integrate Google Analytics account (currently using OF account) into test JupyterBook
  • Visualize the GA metrics defined here in a shareable dashboard

Acceptance

  • Link to Google Analytics dashboard
@Shreyanand Shreyanand added the area/telescope Issues or PRs related to Team Telescope label Jul 14, 2021
@Shreyanand Shreyanand self-assigned this Jul 14, 2021
@Shreyanand
Copy link
Member Author

@tumido How much is this demo associated with or dependent on the Operate First world? Asking so that we can figure out if we need a new google analytics account for this or if we can reuse the OF account.

@tumido
Copy link
Member

tumido commented Jul 14, 2021

@Shreyanand the demo is fully independent and can be hosted anywhere, however we plan to deploy it to Operate First so for now we can reuse op1st account. If we're integrating Google Analytics, we have to make it configurable going forward anyways, so... right now, let's not worry about which account to use and use what we have available - op1st account . 🙂

@hemajv
Copy link
Member

hemajv commented Jul 16, 2021

We have setup a Google Analytics account for Project Meteor purposes and tried configuring it with one of our fork of the Elyra tutorial. However, we ran into an issue of the new Google Analytics (G-#####) tracking ID not being compatible for tracking JupyterBook hosted websites. It takes an old version of the google ID, which was UA-#######.

This issue is being discussed here. It looks like it is fixed in Sphinx here, but not yet reflected in upstream JupyterBook.

@Shreyanand
Copy link
Member Author

Shreyanand commented Jul 19, 2021

I was able to get it working on my fork. It can be seen here.

If you clicked it, we'll know 🤣

Update: Adding GA tag to the _config.yml doesn't work so tried adding the script directly to the readme (see commit). It's hacky but could be a workaround. The problem with this is that we'll have to update all the md files with the GA tag script.

Another workaround that can be used is to have an old tracking ID (UA format). Google let's you do that and it works with JupyterBooks so we only need to update the config and not md files. See the config update here. The downside is that the version and the UI is old which IMO is fine.

@hemajv
Copy link
Member

hemajv commented Jul 23, 2021

We have a dashboard available here: https://datastudio.google.com/reporting/5115a591-f004-4e5f-88e2-d38cc2d26561
(the data is being collected from Shrey's fork of the Elyra tutorial)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/telescope Issues or PRs related to Team Telescope
Projects
None yet
Development

No branches or pull requests

5 participants