IP Anaonymization through munchkin | Community
Skip to main content
Amit_Jain
Community Manager
August 8, 2018
Question

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 5
July 7, 2023

Hi Amit

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

Translate
Jay