Skip to content

Add Google Analytics 4#57

Open
ipasechnikov wants to merge 1 commit intoriggraz:masterfrom
ipasechnikov:master
Open

Add Google Analytics 4#57
ipasechnikov wants to merge 1 commit intoriggraz:masterfrom
ipasechnikov:master

Conversation

@ipasechnikov
Copy link
Copy Markdown

@ipasechnikov ipasechnikov commented Feb 4, 2023

Hi. Thank you for creating this awesome theme. I really like the simplicity of it. I use it for my portfolio website.

I've added Google Analytics 4 support. It's basicaly a copy-paste from official "minima" theme. So there shouldn't be any bugs or issues I guess.
And it works the exactly same way as in official documentation:

Enabling Google Analytics

To enable Google Analytics, add the following lines to your Jekyll site:

 google_analytics: UA-NNNNNNNN-N

Google Analytics will only appear in production, i.e., JEKYLL_ENV=production

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How do I register for Google Analytics?

1 participant