Showing tracker only in production

This commit is contained in:
Bruno F. Fontes 2020-08-22 20:01:58 -03:00
parent b767265200
commit 5d7aee7778
Signed by: brunofontes
GPG Key ID: EE3447CE80048495

View File

@ -1,19 +1,5 @@
<!-- Start Open Web Analytics Tracker -->
@production
<script type="text/javascript">
//<![CDATA[
var owa_baseUrl = 'https://brunofontes.net/owa/';
var owa_cmds = owa_cmds || [];
owa_cmds.push(['setSiteId', '15a38975230dfe7528d647a1419be7f7']);
owa_cmds.push(['trackPageView']);
owa_cmds.push(['trackClicks']);
owa_cmds.push(['trackDomStream']);
(function() {
var _owa = document.createElement('script'); _owa.type = 'text/javascript'; _owa.async = true;
owa_baseUrl = ('https:' == document.location.protocol ? window.owa_baseSecUrl || owa_baseUrl.replace(/http:/, 'https:') : owa_baseUrl );
_owa.src = owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js';
var _owa_s = document.getElementsByTagName('script')[0]; _owa_s.parentNode.insertBefore(_owa, _owa_s);
}());
//]]>
var owa_baseUrl='https://brunofontes.net/owa/';var owa_cmds=owa_cmds||[];owa_cmds.push(['setSiteId','15a38975230dfe7528d647a1419be7f7']);owa_cmds.push(['trackPageView']);owa_cmds.push(['trackClicks']);owa_cmds.push(['trackDomStream']);(function(){var _owa=document.createElement('script');_owa.type='text/javascript';_owa.async=true;owa_baseUrl=('https:'==document.location.protocol?window.owa_baseSecUrl||owa_baseUrl.replace(/http:/,'https:'):owa_baseUrl);_owa.src=owa_baseUrl+'modules/base/js/owa.tracker-combined-min.js';var _owa_s=document.getElementsByTagName('script')[0];_owa_s.parentNode.insertBefore(_owa,_owa_s)}());
</script>
<!-- End Open Web Analytics Code -->
@endproduction