2021-10-02 11:28:46 +02:00
|
|
|
{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
|
2016-10-30 01:02:14 +02:00
|
|
|
|
|
|
|
{% case site.analytics.provider %}
|
|
|
|
{% when "google" %}
|
|
|
|
{% include /analytics-providers/google.html %}
|
|
|
|
{% when "google-universal" %}
|
|
|
|
{% include /analytics-providers/google-universal.html %}
|
2021-10-02 11:28:46 +02:00
|
|
|
{% when "google-gtag" %}
|
|
|
|
{% include /analytics-providers/google-gtag.html %}
|
2016-10-30 01:02:14 +02:00
|
|
|
{% when "custom" %}
|
|
|
|
{% include /analytics-providers/custom.html %}
|
|
|
|
{% endcase %}
|
|
|
|
|
|
|
|
{% endif %}
|