diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index d3b9be9e..5249efdf 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -41,7 +41,7 @@ document.addEventListener('turbolinks:load', function() { window.initializeSocialSharing(); window.initializeLeadership(); //window.initializeFreshdesk(); - window.initializeGoogleAnalytics(); + if (window.initializeGoogleAnalytics) { window.initializeGoogleAnalytics(); } window.initializeSoundCloud(); window.initializeSubscribePlaceholder(); window.initializeSurvey();