AnsweredAssumed Answered

IP Anaonymization through munchkin

Question asked by Amit Jain on Aug 8, 2018

Hi All,

 

Has any one tried the IP anonymization through munchkin? As you know, in the recent product release Marketo introduced IP anonymization as a part of munchkin code. See here:

 

Release Notes: Spring '18 - Marketo Docs - Product Documentation

http://developers.marketo.com/javascript-api/lead-tracking/configuration/

 

I've configured the munchkin code like below:

 

<script type="text/javascript">
(function() {
  var didInit = false;
  function initMunchkin() {
    if(didInit === false) {
      didInit = true;
      Munchkin.init('xxx-xxx-xxx',{'anonymizeIP': true});
  
  }
  var s = document.createElement('script');
  s.type = 'text/javascript';
  s.async = true;
  s.src = '//munchkin.marketo.net/munchkin-beta.js';
  s.onreadystatechange = function() {
    if (this.readyState == 'complete' || this.readyState == 'loaded') {
      initMunchkin();
    }
  };
  s.onload = initMunchkin;
  document.getElementsByTagName('head')[0].appendChild(s);
})();
</script>

 

and after page visit (with above code), I'm still able to see the correct IP address in the "Visit web page" activity? Am I doing something worng here?

 

Regards,

Amit

Outcomes