Skip to content

Commit

Permalink
add g-analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinalcs committed Jan 27, 2024
1 parent 199e133 commit 0a46b87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ group :jekyll_plugins do
gem 'kramdown-math-katex'
gem 'jekyll-redirect-from'
gem 'jekyll-minifier'

gem 'jekyll-analytics'
gem 'jekyll-avatar'
end

if Gem.win_platform?
Expand Down
7 changes: 6 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ plugins:
- jekyll-toc
- jekyll-redirect-from
- jekyll-minifier
- jekyll-analytics
- jekyll-avatar


jekyll_analytics:
GoogleAnalytics: # Add, if you want to track with Google Analytics
id: G-SHN1H6Y4R5 # Required - replace with your tracking id
anonymizeIp: false # Optional - Default: false - set to true for anonymized tracking

defaults:
- scope:
Expand Down

0 comments on commit 0a46b87

Please sign in to comment.