jekyll-google-analytics

jekyll-google-analytics

A Liquid tag for embedding Google Analytics

Jekyll Google Analytics

A Liquid tag plugin for Jekyll

Installation

  1. Add the following to your site's Gemfile:

    gem "jekyll-google-analytics"
    
  2. Add the following to your site's _config.yml:

    gems:
      - jekyll-google-analytics
    
    ga:
      tracking_id: UA-50708664-1
    
  3. Add the following in your site's template(s):

    {% ga %}