-
5
Answers
-
Last Activity:
long time ago,
Mark Harle
Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
Hi -
German law prohibits the use of Google Analytics unless the IP address is anonymized. We have failed, however, to get the anonymized IP code to work. Specifically when we apply the custom script (as shown below) data does not track.
I was wondering if any of the DNN users in Germany can propose a solution for Google Analytics? Worst case I will switch to a log file analysis tool, but would much prefer to get the anonymize function working in Google Analytics.
Thank you in advance.
Mark Harle
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-38084197-1']);
_gaq.push (['_gat._anonymizeIp']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();