Commit cf884fb1 authored by danielgrippi's avatar danielgrippi

finally fixed teh analytics helper [ci skip]

parent 7e544167
......@@ -23,8 +23,8 @@ module AnalyticsHelper
def include_chartbeat
include_analytics "chartbeat" do |service_uid|
javascript_tag do
var _sf_async_config = { uid: #{AppConfig[:mixpanel_uid]}, domain: '#{AppConfig[:pod_uri].host}' };
var _sf_async_config = { uid: "#{AppConfig[:mixpanel_uid]}", domain: "#{AppConfig[:pod_uri].host}" };
(function() {
function loadChartbeat() {
window._sf_endpt = (new Date()).getTime();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment