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

Update google analytics README regarding G- and UA- tags #689

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ For example, to render a link to an account of user `john.doe` at platform `devi
To enable Google Analytics, add the following lines to your Jekyll site:

```yaml
google_analytics: UA-NNNNNNNN-N
google_analytics: G-NNNNNNNNNN
```

Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`. The legacy Universal Analytics format also works with the `gtag.js` snippet, in the format `UA-NNNNNNNN-N`, but the [Universal Analytics format will stop processing data July 1, 2023](https://support.google.com/analytics/answer/11583528?hl=en#:~:text=Until%20July%201%2C%202023%2C%20you,for%20at%20least%20six%20months). For more information, see the [Google Analytics 4 tracking ID support guide](https://support.google.com/analytics/answer/9539598?hl=en).

### Enabling Excerpts on the Home Page

Expand Down