Skip to content

Commit

Permalink
Merge pull request #2197 from iaidan/patch-1
Browse files Browse the repository at this point in the history
Removed HTTPS from Piwik JS
  • Loading branch information
jbrooksuk authored Oct 19, 2016
2 parents ea9f2fa + fcaf3ad commit d0dbf27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/partials/analytics.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://{{ $app_analytics_piwik_url }}";
var u="{{ $app_analytics_piwik_url }}";
_paq.push(['setTrackerUrl', u+'/piwik.php']);
_paq.push(['setSiteId', {{ $app_analytics_piwik_site_id }}]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'/piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="https://{{ $app_analytics_piwik_url }}/piwik.php?idsite={{ $app_analytics_piwik_site_id }}" style="border:0;" alt="" /></p></noscript>
<noscript><p><img src="{{ $app_analytics_piwik_url }}/piwik.php?idsite={{ $app_analytics_piwik_site_id }}" style="border:0;" alt="" /></p></noscript>
@endif
@endif

0 comments on commit d0dbf27

Please sign in to comment.