Workspace code in embed script instead of Munchkin | Community
Skip to main content
August 18, 2016
Question

Workspace code in embed script instead of Munchkin

  • August 18, 2016
  • 2 replies
  • 1713 views

Does anyone know how to add the wsinfo snippet to the embed code of a form instead of the Munchkin code itself?  Is this possible?  I have it working by calling the individual script - <script>Munchkin.init('123-ABC-456', {"wsInfo":"x1xXx2X"});</script> - above the embed code, but I have a feeling that having the munchkin script "call" twice on a page is going to do something funky.

Thanks!

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

2 replies

SanfordWhiteman
Level 10
August 18, 2016

Where's the second call to .init()?  If you mean the template- or LP-level Munchkin include, just disable that if you're doing it yourself.

August 18, 2016

The Munchkin ID is in the footer of all of our webpages.  This is an embed form on our corporate pages. So I want the form to submit to a specific workspace/partition, as our corporate site is global and has multiple translations.

Kenny_Elkington
Adobe Employee
Adobe Employee
August 18, 2016

What exactly are you trying to accomplish with this?

August 18, 2016

@Kenny - I am trying to submit all leads, regardless of which language form, to a global workspace/partition first, to assign values, etc, and then kick the lead into the proper workspace/partition based on country code, so all of my main workflows can be kept in the global area and then the country specific assets and such are in their respective workspaces, and the leads are in their respective partions after going through the ringer of flows we use globally.