diff options
Diffstat (limited to '_includes/analytics.html')
| -rw-r--r-- | _includes/analytics.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/_includes/analytics.html b/_includes/analytics.html new file mode 100644 index 0000000..371469f --- /dev/null +++ b/_includes/analytics.html @@ -0,0 +1,14 @@ +{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %} + +{% case site.analytics.provider %} +{% when "google" %} + {% include /analytics-providers/google.html %} +{% when "google-universal" %} + {% include /analytics-providers/google-universal.html %} +{% when "google-gtag" %} + {% include /analytics-providers/google-gtag.html %} +{% when "custom" %} + {% include /analytics-providers/custom.html %} +{% endcase %} + +{% endif %}
\ No newline at end of file |
