2017-11-27 18:11:32 +01:00
|
|
|
{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
|
2016-03-07 17:29:35 +01:00
|
|
|
|
|
|
|
{% case site.analytics.provider %}
|
|
|
|
{% when "google" %}
|
2016-03-11 03:13:01 +01:00
|
|
|
{% include /analytics-providers/google.html %}
|
2016-03-07 17:29:35 +01:00
|
|
|
{% when "google-universal" %}
|
2016-03-11 03:13:01 +01:00
|
|
|
{% include /analytics-providers/google-universal.html %}
|
2018-03-13 00:27:42 +01:00
|
|
|
{% when "google-gtag" %}
|
|
|
|
{% include /analytics-providers/google-gtag.html %}
|
2016-03-07 17:29:35 +01:00
|
|
|
{% when "custom" %}
|
2016-03-11 03:13:01 +01:00
|
|
|
{% include /analytics-providers/custom.html %}
|
2016-03-07 17:29:35 +01:00
|
|
|
{% endcase %}
|
|
|
|
|
|
|
|
{% endif %}
|