Install Middleware
How it Works
Intelligems uses Next.js middleware to split and assign visitors into a Test Group for each active Test and adds this User Context to browser cookies.
If using the Route Hashing Method, this user context is passed to page props directly through a URL hash.
If using the Cookies Method, this user context is saved as cookies and read at response time.