Commit 248ad9ad authored by danielgrippi's avatar danielgrippi

use the host, luke. (chartbeat wants a domain only. no protocol monkey-business) [ci skip]

parent ba9bbd87
......@@ -34,7 +34,7 @@ module AnalyticsHelper
return unless chartbeat_configured?
javascript_tag do
<<-JS
var _sf_async_config = { uid: #{AppConfig[:chartbeat_uid]}, domain: '#{AppConfig[:pod_url]}' };
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