diff --git a/_config.yml b/_config.yml index 722b38e..1def3ed 100644 --- a/_config.yml +++ b/_config.yml @@ -97,11 +97,14 @@ JB : # Set 'provider' to false to turn analytics off globally. # analytics : - provider : google + provider : mixpanel google : tracking_id : 'UA-123-12' getclicky : site_id : + mixpanel : + token : '_MIXPANEL_TOKEN_' + # Settings for sharing helper. # Sharing is for things like tweet, plusone, like, reddit buttons etc. diff --git a/_includes/JB/analytics b/_includes/JB/analytics index 9280e8d..4b04ec9 100644 --- a/_includes/JB/analytics +++ b/_includes/JB/analytics @@ -5,6 +5,8 @@ {% include JB/analytics-providers/google %} {% when "getclicky" %} {% include JB/analytics-providers/getclicky %} +{% when "mixpanel" %} + {% include JB/analytics-providers/mixpanel %} {% when "custom" %} {% include custom/analytics %} {% endcase %} diff --git a/_includes/JB/analytics-providers/mixpanel b/_includes/JB/analytics-providers/mixpanel new file mode 100644 index 0000000..4406eb0 --- /dev/null +++ b/_includes/JB/analytics-providers/mixpanel @@ -0,0 +1,11 @@ + \ No newline at end of file