IP Anaonymization through munchkin

Amit_Jain
Level 8 - Community Advisor

IP Anaonymization through munchkin

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

1 REPLY 1
Jay00031987
Level 4

Re: IP Anaonymization through munchkin

Hi Amit

I hope you were able to resolve the IP anonymization. I would appreciated if you can share the workaround for this too.  

Jay