bright-autumn-23919
03/07/2022, 2:49 PManalytics-node
and middleware might not be so compatible.. Been patiently waiting for the follow up on this article: https://dev.to/jdorn/ab-testing-with-the-new-nextjs-12-middleware-54j6 😄 thanks!future-teacher-7046
analytics-node
package - https://segment.com/docs/connections/sources/catalog/libraries/server/http-api/bright-autumn-23919
03/07/2022, 3:24 PMnarrow-psychiatrist-15437
03/08/2022, 8:24 AMwaitUntil()
method to avoid a timeout if the analytics endpoint responds slowly. See more here: https://vercel.com/docs/concepts/functions/edge-functions#nextfetchevent