Adding Google Analytics to my Jekyll site
- 1 minThis is so mind numbing simple that it hurts, but…
I have the memory of a brain-damaged gold fish, so writing it up somewhere makes sense:
- Sign up for Google Analytics (GA)
- Go to Tracking Info > Tracking Code in your GA dashboard
- Copy the javascript code for Website tracking
- Edit
_layouts/default.html
and add your tracking code javascript to the head section
Done.