AnsweredAssumed Answered

Multiple munchkin inits - recovering historical web activity

Question asked by Richard Chapman Personal on Dec 6, 2018
Latest reply on Dec 6, 2018 by Sanford Whiteman

When building one of our landing page templates, our developer accidentally included the munchkin code for another page in the code (we assume it was a "View Source" and then copy/paste from another template).


As a result, two munchkin definitions were appearing on all of our landing pages built on this template, e.g.:


<script type="text/javascript" src="//"></script>

<script>Munchkin.init('000-AAA-000', {customName: 'copied-name', wsInfo: 'ABCD'});</script>


<script type="text/javascript" src="//"></script>

<script>Munchkin.init('000-AAA-000', {customName: 'generated-name', wsInfo: 'ABCD'});</script>


(the one in the template, and the one automatically inserted by Marketo)


When building reports on the landing pages (page views and link clicks specifically) we noticed no data was coming through.  Upon testing, we also noticed no web activity for these pages was appearing on an individual leads activity log.


After removing the duplicate munchkin code from the template everything jumped back to life for new data, but we also noticed users revising the page (with an active session/cookie) seemed to restore some of their historical data from when there were two codes in place.


So, is there a way of include all of the historical data from when two codes were in place in our reports?  Is there a way I can filter based on the custom name that was in place before, and then relating to the landing page it was included on?