Marketo munchkin

Babu_Chikati
Level 3

Marketo munchkin

Hi, I have a question on Marketo munchkin API functions.  Planning to use following functions to capture user behavior data on website with the combination of GA4. Is there anything to keep in mind while using the following functions ? like size of the data I can pass in respective functions, impact on Marketo , any performance issue etc...

 

Munchkin.munchkinFunction('visitWebPage', {
       'url': '/Football/Team/Seahawks',
       'params': 'defense=legion_of_boom&qb=wilson'
});

Munchkin.munchkinFunction('trackEvent', {
            eventName: 'Whitepaper Download'
});

 

Thanks,

Babu

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo munchkin

Please remember to use the Syntax Highlighter when posting code so it’s readable. I edited your post this time.

 

At any rate, it’s impossible to answer your question because that second snippet doesn’t do anything! There’s no such Munchkin function as "trackEvent" so a call like that is simply ignored.

 

As I mentioned in this recent thread, Munchkin is not a general purpose data logging/telemetry platform. You can only send "visitWebPage" and "clickLink" events — certainly you can customize the URL info sent with those events so they have distinct business meanings, but you can’t make up your own events.

Babu_Chikati
Level 3

Re: Marketo munchkin

Thank you , Sanford!.

 

Thanks,

Babu