analytics 574 B

1234567891011121314151617181920
  1. {% include JB/is_production %}
  2. {% if is_production and site.JB.analytics.provider and page.JB.analytics != false %}
  3. {% case site.JB.analytics.provider %}
  4. {% when "gauges" %}
  5. {% include JB/analytics-providers/gauges %}
  6. {% when "google" %}
  7. {% include JB/analytics-providers/google %}
  8. {% when "getclicky" %}
  9. {% include JB/analytics-providers/getclicky %}
  10. {% when "mixpanel" %}
  11. {% include JB/analytics-providers/mixpanel %}
  12. {% when "piwik" %}
  13. {% include JB/analytics-providers/piwik %}
  14. {% when "custom" %}
  15. {% include custom/analytics %}
  16. {% endcase %}
  17. {% endif %}