# Contact Tracking - Custom events

**URL:** https://forum.mautic.org/t/contact-tracking-custom-events/27086
**Category:** Product Support
**Tags:** mautic-4
**Created:** [February 19, 2023, 1:34am UTC](https://forum.mautic.org/t/contact-tracking-custom-events/27086 "2023-02-19T01:34:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mk1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mk1/32/9317_2.png) [@mk1](https://forum.mautic.org/u/mk1)
#### Post date: [February 19, 2023, 1:34am UTC](https://forum.mautic.org/t/contact-tracking-custom-events/27086/1 "2023-02-19T01:34:43Z")

</div>

**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](https://docs.mautic.org/en/contacts/manage-contacts/contact-monitoring) , 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’});

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [February 19, 2023, 7:18am UTC](https://forum.mautic.org/t/contact-tracking-custom-events/27086/2 "2023-02-19T07:18:39Z")

</div>

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

> [@Mautic tracking site activities other than page view](https://forum.mautic.org/t/mautic-tracking-site-activities-other-than-page-view/18856):
>
> this is a snippet from mautic documentation: Other Online Monitoring There are several other ways to monitor contact activity and attach points to those activities. Website monitoring is only one way to track contacts. Other contact monitoring activities can consist of forum posts, chat room messages, mailing list discussion posts, GitHub/Bitbucket messages, code submissions, social media posts, and a myriad of other options. there is nothing else saying about this monitoring, neither examp…

---

<div class="post-metadata">

### Author: ![mk1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mk1/32/9317_2.png) [@mk1](https://forum.mautic.org/u/mk1)
#### Post date: [February 19, 2023, 10:03am UTC](https://forum.mautic.org/t/contact-tracking-custom-events/27086/3 "2023-02-19T10:03:23Z")

</div>

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