# Not getting stats is database from Sendgrid esp

**URL:** <https://forum.mautic.org/t/not-getting-stats-is-database-from-sendgrid-esp/32630>\
**Category:** Mautic 5 Install/Upgrade Support\
**Tags:** community\
**Created:** [July 3, 2024, 9:04am UTC](https://forum.mautic.org/t/not-getting-stats-is-database-from-sendgrid-esp/32630 "2024-07-03T09:04:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aniketgoalmbade](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@aniketgoalmbade](https://forum.mautic.org/u/aniketgoalmbade)\
**Post date:** [July 3, 2024, 9:04am UTC](https://forum.mautic.org/t/not-getting-stats-is-database-from-sendgrid-esp/32630/1 "2024-07-03T09:04:56Z")

</div>

**Your software**  
My Mautic version is: 5.0.4  
My PHP version is: 8.1.2

**Your problem**  
My problem is:

I have configured SendGrid ESP in Mautic, but I am not receiving the stats in the database from SendGrid. Is there any configuration that I need to complete to get the stats?

---

<div class="post-metadata">

**Author:** ![michealpeero](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@michealpeero](https://forum.mautic.org/u/michealpeero)\
**Post date:** [July 7, 2024, 11:35am UTC](https://forum.mautic.org/t/not-getting-stats-is-database-from-sendgrid-esp/32630/2 "2024-07-07T11:35:53Z")

</div>

To receive stats from SendGrid in Mautic, ensure that webhooks are properly configured. Log in to your SendGrid account, navigate to Settings \> Mail Settings \> Event Webhook, and enable the events you want to track (e.g., bounces, opens, clicks). Then, set the webhook URL to your Mautic instance’s endpoint for SendGrid, usually something like `https://yourmauticurl.com/mailer/sendgrid/callback`. This configuration allows SendGrid to send event data back to Mautic, enabling the stats to be recorded in the database. i have fixed the issue for inasaldiningprices for a filipino based micro [blog of local fast food](https://inasaldiningprices.com/un-tourism-forum/)
