diff --git a/_includes/analytics.html b/_includes/analytics.html index 7bff077b..ce254b11 100644 --- a/_includes/analytics.html +++ b/_includes/analytics.html @@ -1,5 +1,16 @@ {% 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 %} +