diff --git a/_config.yml b/_config.yml index 96b0ae5..9ea4580 100644 --- a/_config.yml +++ b/_config.yml @@ -8,4 +8,7 @@ exclude: - icons-manifest.json - bin - sandbox - - stash \ No newline at end of file + - stash + +# Google Analytics Tracking ID +google_analytics: UA-63028889-4 \ No newline at end of file diff --git a/_includes/analytics.html b/_includes/analytics.html new file mode 100644 index 0000000..9dffa14 --- /dev/null +++ b/_includes/analytics.html @@ -0,0 +1,10 @@ + diff --git a/index.html b/index.html index 9918edd..e7ff4d1 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,10 @@ description: Feather is a collection of simply beautiful open source icons. Each + + {% if site.google_analytics and jekyll.environment == 'production' %} + {% include analytics.html %} + {% endif %} {% include header.html %}