Make Countly server configurable via settings.

This commit is contained in:
Paulo Reis 2016-07-11 11:02:52 +01:00
parent c7506391ca
commit 7eafa5ca3f

View file

@ -53,7 +53,7 @@ html(itemscope, itemtype='http://schema.org/Product')
var Countly = Countly || {};
Countly.q = Countly.q || [];
Countly.app_key = '#{settings.analytics.countly.token}';
Countly.url = 'https://try.count.ly';
Countly.url = '#{settings.analytics.countly.server}';
Countly.q.push(['track_sessions']);
Countly.q.push(['track_pageview']);