내 커뮤니티 업적 표시줄을 확대합니다.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Tracking Marketo form via Adobe Launch

Avatar

Level 2

Is there a way to track Marketo form events like start, submit, success and failure in Adobe Analytics using Adobe Launch.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 5

You could probably use an Event Based Rule’s custom Event Type with this and then use _satellite.track("your direct call rule String value"); in a Sequential JavaScript Tag. Similarly do the same for other form events like start, submit, success and failure.

 

In Adobe Launch, create an event-based rule and select the rule's trigger. To track form submissions, for example, you may utilize the form submit trigger.

Create a data element to gather form data. You can do this by selecting "Custom Code" in the data element setup and writing JavaScript code for collecting form data.

In Adobe Analytics, create a custom event that corresponds to the Marketo form event you want to measure (for example, form submission).

In the Adobe Analytics extension settings in Adobe Launch, map the data from the data element to the custom event.

Publish the modifications and test the tracking with a tool like Adobe Experience Cloud Debugger or the browser console.

 

You can leverage the marketo api to do something like this [Reference: https://developers.marketo.com/javascript-api/forms/api-reference/]

<script type="text/javascript">

MktoForms2.whenReady(function (form) {

// Add an onSubmit handler

form.onSubmit(function(){

// set function calls here, for example to fire google analytics or adobe analytics tracking

_satellite.track('mrktoFormSubmit');

});

});

</script>

 

 

원본 게시물의 솔루션 보기

2 답변 개

Avatar

Community Advisor and Adobe Champion

I don't know if there are specific events that can be leverage from Marketo... but if you should be able to track based on standard HTML form controls...

 

Start could be as simple as being part of the page load where the form exists... or you could create a "focus" rule, that as soon as the user focuses on any part of the form you track that as a start... you will need to create some logic to only track the focus once per page load so that every "focus" doesn't re-trigger and cause additional unnecessary tracking.

 

For the Submit, there is form submit action in Launch, so that one should be easy...

 

For the Success/Fail, well I guess that depends on how your form works... does the user get taken to a new thank you page on success? You could use that page as the success tracking... or is there a thank you message that appears on the same page? In fact, looking for error messages after submitting the form is likely the best way to track the failure...
Without seeing a working model though, it's hard to help provide details on that type of detection.

 

You can try posting in in the Marketo forum.. to at least see if there are actual event listeners for these that would be easier to use. 
https://nation.marketo.com/t5/products/ct-p/products?page=1&tab=catAllDiscussions&cat=products&video... 

Avatar

정확한 답변 작성자:
Level 5

You could probably use an Event Based Rule’s custom Event Type with this and then use _satellite.track("your direct call rule String value"); in a Sequential JavaScript Tag. Similarly do the same for other form events like start, submit, success and failure.

 

In Adobe Launch, create an event-based rule and select the rule's trigger. To track form submissions, for example, you may utilize the form submit trigger.

Create a data element to gather form data. You can do this by selecting "Custom Code" in the data element setup and writing JavaScript code for collecting form data.

In Adobe Analytics, create a custom event that corresponds to the Marketo form event you want to measure (for example, form submission).

In the Adobe Analytics extension settings in Adobe Launch, map the data from the data element to the custom event.

Publish the modifications and test the tracking with a tool like Adobe Experience Cloud Debugger or the browser console.

 

You can leverage the marketo api to do something like this [Reference: https://developers.marketo.com/javascript-api/forms/api-reference/]

<script type="text/javascript">

MktoForms2.whenReady(function (form) {

// Add an onSubmit handler

form.onSubmit(function(){

// set function calls here, for example to fire google analytics or adobe analytics tracking

_satellite.track('mrktoFormSubmit');

});

});

</script>