# Is there any way to further customize grouping?

This is one of our biggest issues right now. Errors get groups by execution path, which for us is not the most accurate way to group them. Sometimes we get en exception in the same place but with a different content, which we need to be aware of. I am not an admin on my account so Im not sure exactly what options you have to customize this, but I have talked about this several times with my admin and they say there is not much we can currently do to solve this. I would like to know is there is any other option for this.

##### Post Metadata
- Posted at: almost 5 years ago
- Author title: Sr Software Engineer
- Net upvotes: 1


## Comments
### Comment 1

Hi there Hugo, 

Thanks for reaching out! We do have options for further customizing error groups. You can set up your own custom error group hasher by creating a GroupingKey that sets your own grouping options, and passing the GroupingKey through on the error payload. By adding the GroupingKey in the onBeforeSend (https://github.com/MindscapeHQ/raygun4js#onbeforesend)  method you can capture each payload and assign a custom error group id. There is a JavaScript example of setting up custom error grouping on our blog (https://raygun.com/blog/custom-error-grouping/). 

All the best, and let me know if you have any further questions.

##### Comment Metadata
- Posted at: almost 5 years ago
- Author title: Director of Marketing




## Related Product
[Raygun](https://www.g2.com/products/raygun/reviews)

## Related Category
[Application Performance Monitoring (APM)](https://www.g2.com/categories/application-performance-monitoring-apm)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


