1. Is there a way around to manage Munchkin code w.r.t to EU Cookie Law and
2. how can we customize the Munchkin code in such a way so that it can trace visit web page and other click activity but not the the IP address
is this correct way to anonymize IP address
Munchkin.init('xxx-xxx-xxx',{'anonymizeIP': true});
<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>
Yes, that's correct! You should add the config parameters to the Munchkin.init(). Did you verify that your Marketo is equipped with Munchkin V2? You can do a DNS lookup for this address: [your instance's Munchkin id].mktoresp.com. If the IP address is one of the following, your instance should have V2 enabled:
What the heck is a munchkin code? Is it a secret handshake with a little person from the land of Oz or the recipe for Dunkin' Donuts holes?
@mdurwin ,
munchkin is Marketo's tracking system (at it's simplest, it's what allows marketo to track web pages visited).
Cheers
Jo