Hey Sanford, So from what I've seen here & this article: https://chrisgoddard.blog/2018/02/03/how-to-track-marketo-forms-in-google-analytics-using-google-tag-manager/ I've implemented this: "HTML Marketo Form Listener" <script> (function(document, window, undefined){ var dataLayer = window.dataLayer; try { if(window.MktoForms2){ window.MktoForms2.whenReady(function(form){ var form_id = form.getId(); var $form = form.getFormElem(); dataLayer.push({ 'event': 'marketo.loaded', 'marketo.form_id': form_id }); form.onSubmit(function(){ dataLayer.push({ 'event': 'marketo.submit', 'marketo.form_id': form_id, }); }); form.onSuccess(function(values, followUpUrl){ dataLayer.push({ 'event': 'marketo.success', 'marketo.form_id': form_id, 'marketo.form_values': values, 'eventCallback': function() { dataLayer.push({ 'marketo.follow_up_url': followUpUrl }) } }); if({{Debug Mode}}){ console.log(values); return false; } else { return true; } }); }); } } catch(err) { if({{Debug Mode}}){ console.log(err); } } })(document, window); </script> "Leads RX Conversion" <script type="text/javascript"> var _lrx_profile = { "firstName":"{{First Name}}", "lastName":"{{Last Name}}", "email":"{{Email}}", "phone":"{{Phone}}", "company":"{{Company}}", "country":"{{Country}}" }; _lrx_sendEvent('conversion',11522,null,JSON.stringify(_lrx_profile)); </script> The HTML form listener is working as intended: I'm able to see the form events (ie form load, form submit, form success) and the form values are in the dataLayer after a successful submission. However, I'm having trouble with the 2nd script (Leads RX Conversion) capturing and sending the form values to our lead tracking platform. I'm able to see about 60-70% of the leads that submit a form in our Leads RX dashboard. Everything is implemented via Google Tag Manager. The LeadsRX script trigger fires on the success event. Do you see anything wrong here that would cause this issue? Did I do something wrong with the eventCallback? Any insight helps, thank you.
... View more