sudojunior / journey

A media database like IMDb, but run through GitHub and deployed on Jekyll.
https://gitjourney.vercel.app/
GNU General Public License v3.0
2 stars 0 forks source link

Implement Google Analytics #2

Closed sudojunior closed 4 years ago

sudojunior commented 4 years ago

We'd like to see which pages are requested more by viewers to analyse what could be improved about the flow of the site.

ADMIN: See analytics dashboard to find page TinkerStorm/journey -> Tracking Info -> Tracking Code

ga('create', '{{ site.google_analytics.tracking_id }}', 'auto')
ga('set', 'location', '{{ page.url | absolute_url }}');
ga('send', 'pageview');

Further reading: https://developers.google.com/analytics/devguides/collection/analyticsjs/tracking-snippet-reference#async-unminified https://support.google.com/analytics/answer/1136920?hl=en

repo-ranger[bot] commented 4 years ago

:warning: This has been marked wontfix to be closed in :timer_clock: 7 days.