You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin configured in Gemfile:
...
gem 'jekyll-analytics', '~> 0.1.11'
...
and added in _config.yml
...
plugins:
- jekyll-feed
- jekyll-sitemap
- jekyll-paginate
- jekyll-seo-tag
- jekyll-analytics
jekyll_analytics:
GoogleAnalytics: # Add, if you want to track with Google Analytics
id: UA-XXXX-XX # Real id is in place
anonymizeIp: false # Optional - Default: false - set to true for anonymized tracking
...
running via JEKYLL_ENV=production bundle exec jekyll serve
and I can see this text at the top of the page
closing tag, Google Analytics can be placed here -->
looking at the source of the page, I see:
<!-- This goes before
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-811002-18', 'auto');
ga('send', 'pageview', { 'page': location.pathname + location.search + location.hash});
ga('set', 'anonymizeIp', false);
</script>
<!-- End Google Analytics -->
</head> closing tag, Google Analytics can be placed here -->
<!-- Google Analytics -->
The text was updated successfully, but these errors were encountered:
Plugin configured in Gemfile:
...
gem 'jekyll-analytics', '~> 0.1.11'
...
and added in _config.yml
...
plugins:
- jekyll-feed
- jekyll-sitemap
- jekyll-paginate
- jekyll-seo-tag
- jekyll-analytics
jekyll_analytics:
GoogleAnalytics: # Add, if you want to track with Google Analytics
id: UA-XXXX-XX # Real id is in place
anonymizeIp: false # Optional - Default: false - set to true for anonymized tracking
...
running via JEKYLL_ENV=production bundle exec jekyll serve
and I can see this text at the top of the page
closing tag, Google Analytics can be placed here -->
looking at the source of the page, I see:
The text was updated successfully, but these errors were encountered: