Contact Tracking - Custom events

Your software
My Mautic version is: 4.4.6
My PHP version is: 7.4.33
My Database type and version is: 10.5.19

Your problem
My problem is:
So a bit of background: I have read through Contact tracking | Mautic , added the Javascript to the site, configured CORS and configured pageview event which created an anonymous user on each page visit.
Digging a bit more through, i created the custom field ‘cpid’, made it publicly available and passed it in the event which matched the contact and added it to its history. Code: mt(‘send’, ‘pageview’, {cpid: ‘123456’, firstname: ‘Jim’, lastname: ‘Contact’});

Question:
Is it possible to send custom events too?
I tried sending a ‘login’ event with the below code but doesnt seem to work/be supported
mt(‘send’, ‘login’, {cpid: ‘123456’, firstname: ‘Jim’, lastname: ‘Contact’});

Hi, plz read this thread. This is how far we’ve got.

Hello @joeyk . Thank you for sharing this thread. Very helpful :slight_smile: