The custom GA4 event in the window.dataLayer array isn't sent correctly

The custom GA4 event inserted into the window.dataLayer array has not been sent correctly.
Here is the screenshot of the inserted custom event:
Before integrating with ZARAZ, GA4 was able to properly record events. After the integration with ZARAZ, all of these events were classified under user_engagement, as shown in the following image:

  • I have already enabled the dataLayer compatibility mode in ZARAZ.

I’ve tried many methods, but none of them have allowed ZARAZ to recognize the GA4 custom events in dataLayer. Can anyone assist me?

Did you find a solution ?