kubeflow / blog

Kubeflow blog based on fastpages
https://blog.kubeflow.org
Apache License 2.0
17 stars 40 forks source link

Can we enable analytics? #6

Closed jlewi closed 4 years ago

jlewi commented 4 years ago

How do we get analytics for our blog?

Can we enable Google Analytics?

/cc @hamelsmu

hamelsmu commented 4 years ago

Yes you put your GA code in _config.yaml https://github.com/kubeflow/blog/blob/master/_config.yml#L58

On Wed, Jul 15, 2020 at 7:28 AM Jeremy Lewi notifications@github.com wrote:

How do we get analytics for our blog?

Can we enable Google Analytics?

/cc @hamelsmu https://github.com/hamelsmu

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kubeflow/blog/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALKJEUFO4NIEKCS3GXT2BTR3W4KJANCNFSM4O2TBDZQ .

terrytangyuan commented 4 years ago

Who would have access to view the stats?

hamelsmu commented 4 years ago

Only the person with access to the GA Dashboard at the moment. We could use the API to scrape it and put it on some page (with some work) via GitHub Actions

terrytangyuan commented 4 years ago

No worries about putting it on some page yet. I was just curious. The stats might be useful for the community to come up with more interesting ideas to our audience for future blog posts.

jlewi commented 4 years ago

I believe this is it https://github.com/kubeflow/website/blob/d0bd0e031453d12e704d0636f9ad192c866a327c/config.toml#L75

jlewi commented 4 years ago

Reopening because I couldn't find the analytics in google analytics. I created a new property and updated the property in #36,

Lets leave open until we verify we are getting the metrics.

jlewi commented 4 years ago

The metrics were there but you had to search by the page e.g. "/integrations/2020/07/10/kubeflow-kale.html"

Should be easier with the new property.

jlewi commented 4 years ago

Google analytics seems to be setup I think we just need to wait 24 hours before data starts showing up.

jlewi commented 4 years ago

I verified that analytics are now available in Google Analytics