Hello,
Is there any possibility to update a lead (mainly trigger javascript’s mt(‘send’… ) at a click of a button ?
I’ve tried and looks like mt is not triggering on a jquery.click action.
thanks,
M
Hello,
Is there any possibility to update a lead (mainly trigger javascript’s mt(‘send’… ) at a click of a button ?
I’ve tried and looks like mt is not triggering on a jquery.click action.
thanks,
M
I think i’ve found a sollution:
Instead of calling mt() which is triggered only at MauticJS.documentReady, use this
MauticJS.sendPageview([‘send’, ‘pageview’, {email: ‘emailyouwanttoupdate’, field2: ‘val’}]);
this will trigger the mtracking.gif pixel with the values you want to update and will match with the contact by the email addy which is unique