Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Google Analytics Plugin
#33
FYI

Google has renewed its GA code (see below). New rules on GDPR (AVG) will be introduced in May this year. If you do not ask your users consent to use Google Analytics on your site it is advisable to anonymize the IP addresses. Add the following to your GA script ...

, { 'anonymize_ip': true } 

Code:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-xxxxxxxx-1', {'anonymize_ip': true});
</script>
Reply


Messages In This Thread
Google Analytics Plugin - by filupn - 2011-09-07, 01:56:03
RE: Google Analytics Plugin - by PrplHaz4 - 2013-02-27, 00:04:59
RE: Google Analytics Plugin - by bswan19 - 2013-05-03, 00:40:13
RE: Google Analytics Plugin - by Carlos - 2013-05-03, 01:39:44
RE: Google Analytics Plugin - by bswan19 - 2013-05-03, 05:48:47
RE: Google Analytics Plugin - by PrplHaz4 - 2013-07-03, 03:44:44
RE: Google Analytics Plugin - by plazma - 2013-11-05, 03:10:37
RE: Google Analytics Plugin - by Carlos - 2013-11-05, 06:49:44
RE: Google Analytics Plugin - by plazma - 2013-11-24, 23:22:57
RE: Google Analytics Plugin - by Carlos - 2013-11-25, 03:08:42
RE: Google Analytics Plugin - by shawn_a - 2014-05-20, 03:30:38
RE: Google Analytics Plugin - by nakeviadesigns - 2018-01-26, 01:56:18
RE: Google Analytics Plugin - by Rene - 2018-05-01, 17:03:55
Google Analytics Plugin - by filupn - 2011-09-07, 02:03:07
Google Analytics Plugin - by mvlcek - 2011-09-07, 02:26:32
Google Analytics Plugin - by filupn - 2011-09-07, 02:37:16
Google Analytics Plugin - by mikeh - 2011-09-07, 02:50:00
Google Analytics Plugin - by filupn - 2011-09-30, 07:29:36
Google Analytics Plugin - by filupn - 2011-10-21, 00:10:18
Google Analytics Plugin - by sarahflo - 2012-01-29, 16:36:54
Google Analytics Plugin - by filupn - 2012-01-30, 07:32:39
Google Analytics Plugin - by sarahflo - 2012-01-30, 11:53:18
Google Analytics Plugin - by filupn - 2012-01-30, 12:24:57
Google Analytics Plugin - by sarahflo - 2012-01-30, 12:45:32
Google Analytics Plugin - by sarahflo - 2012-02-02, 20:14:06
Google Analytics Plugin - by filupn - 2012-02-02, 22:57:58
Google Analytics Plugin - by sarahflo - 2012-02-02, 23:47:02
Google Analytics Plugin - by filupn - 2012-02-03, 00:19:56
Google Analytics Plugin - by filupn - 2012-02-03, 00:21:35
Google Analytics Plugin - by sarahflo - 2012-02-03, 00:29:38
Google Analytics Plugin - by sarahflo - 2012-02-03, 00:34:08
Google Analytics Plugin - by filupn - 2012-02-03, 00:38:04



Users browsing this thread: 1 Guest(s)