Mautic Community Forums

Send events to contacts

Hi,

I’m trying to send events to existing contacts and tack if they have performed some specific action. These actions could be sent by two ways:

  • In front-end using mtc.js (or this I understand :slight_smile:)
  • From Backend using the Mautic Rest API.

I’m reading some Mautic documentation, but for me is not very clear how to deal with this topic.

From JS, I just have found this link (https://docs.mautic.org/en/contacts/manage-contacts/contact-monitoring), but it seems that it is only possible to send “pageview” type events.

From Rest API (https://developer.mautic.org/#mauticjs-api), I have not found any way to send custom events to contacts.

I have also check Events section (https://developer.mautic.org/#events) but it seems related to internal events dispatched by Mautic or custom plugins and they can not be used by mts.js.

Could anyone please share and starting point for this question?

Thank you!!!

1 Like