Mautic Community Forums

Where is the list of mt('send') events?

I cannot find a documentation about the mt() JS function.

Currently I use it like this:

Code:
mt('send', 'pageview', {tags: 'AddToCart'});
But I already use the send, pageview code on all pages with the WP plugin. So I get 2 pageview events for the contact who visit the specific page.
I need to send custom events if possible, but didn't find anything in the docs.
Is it possible? If yes, how?
Thank you.

I cannot find a documentation about the mt() JS function.
Currently I use it like this:

mt('send', 'pageview', {tags: 'AddToCart'});

But I already use the send, pageview code on all pages with the WP plugin. So I get 2 pageview events for the contact who visit the specific page.
I need to send custom events if possible, but didn’t find anything in the docs.
Is it possible? If yes, how?
Thank you.

1 Like