Commit 5b424e7d authored by Daniel Grippi's avatar Daniel Grippi

don't use quotes for chartbeat (it's picky) [ci skip]

parent 44f2b7ae
......@@ -35,7 +35,7 @@ module AnalyticsHelper
include_analytics "chartbeat" do
javascript_tag do
<<-JS.html_safe
var _sf_async_config = { uid: "#{AppConfig[:chartbeat_uid]}", domain: "#{AppConfig[:pod_uri].host}" };
var _sf_async_config = { uid: #{AppConfig[:chartbeat_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