update analytics, 1.0.16

This commit is contained in:
infeeeee
2019-11-22 18:26:29 +01:00
parent de68693d23
commit ca214fe73c
6 changed files with 22 additions and 10 deletions

View File

@@ -6,11 +6,6 @@
<?php wp_footer(); ?>
<?php
if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) {
// Your third-party non functional code here
?>
<!-- analytics -->
<script>
@@ -18,10 +13,20 @@
(f[s].q=f[s].q||[]).push(arguments)},f[s].l=1*new Date();h=i.createElement(r),
l=i.getElementsByTagName(r)[0];h.async=1;h.src=e;l.parentNode.insertBefore(h,l)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-72435346-2', 'auto');
ga( 'create', 'UA-72435346-2', {'storeGac': false } );
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<?php
if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) {
// Your third-party non functional code here
?>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/hu_HU/sdk.js#xfbml=1&version=v4.0&appId=525065661232966&autoLogAppEvents=1"></script>
<?php
}
?>