I have a non Marketo form (its a calculator so it would not be appropriate in Marketo). We have a Google Analytics event already on it and I'm wondering if it would be possible to use the event as a trigger in Marketo somehow.
Any thoughts?
Thanks
Yes, but you would need to kick off an API call to Marketo to do it.
Rather than trigger off the GA event, it would be simplest to trigger a silent Marketo form submit at the same time (form could be just an email address, or whatever other data from the calculator you want to map in to Marketo fields).
http://developers.marketo.com/blog/make-a-marketo-form-submission-in-the-background/
As Justin suggests, you can do a silent Marketo form submission in the GA hitCallback listener.
For a lighter-weight approach you could instead log a Munchkin API hit:
ga('send', 'event', {
'eventCategory': 'Calculator',
'eventAction': 'Calculated',
'hitCallback': function() {
Munchkin.munchkinFunction('clickLink',{ href: '/forms/calculator/calculated' });
}
});
Arggg, I've asked this question totally wrong. Sorry for the delayed response, I should have added that I'm trying to trigger an rtp campaign.
So when someone clicks the calculate button, I want to fire a widget to show. I'm so sorry for not being clear.
If you try to also trigger RTP campaign upon form submission you can use the RTP custom data events API.
You can find some examples in my posts on the developers blog: http://developers.marketo.com/blog/?s=yanir, specifically see:
http://developers.marketo.com/blog/triggering-rtp-campaigns-with-a-delay/
Let me know if you need more assistance with that.