Hey all. Working on getting Segment integrated correctly with my Next.js project (using v12), and I've been hitting dead ends every direction. Dropping in the Segment snippet works just fine, but I would like to integrate it with Segment's Consent Manager (@segment/consent-manager). Unfortunately, it seems to not be as drag-and-drop as the documentation claims, and I've been banging my head against the wall for the last 48 hours with zero results.
Does anyone have a functioning version of Segment's Consent Manager with Next, and would be willing to share the solution? Thanks.