Using cookie to set webpage experience in Target VEC
We have a website that has a user type toggle. The homepage looks different depending on the user type selected. For instance,
In https://mysite.com. using the toggle, select user type "client". The specific homepage experience for "client" is loaded. There's a cookie called userType and the value of it is set to "client". This userType is also captured in Launch and is available as a parameter in Target. If the visitor abandons the site (without clearing cookies), the next time he visits, the "client" experience is loaded, which is based on the cookie.
The visitor goes to the website again, using the same URL, https://mysite.com. This time, they select user type called "dealer". In this case, userType cookie is set to "dealer", the homepage experience for "dealer" is loaded.
The URL is the same but the page is different based on userType cookie value.
The issue in Target VEC is that Delivery is set to https://mysite.com. and an experience is created for client. But the VEC is loading the "dealer" page. I tried Browse mode, selecting "Client" in the user type selector, then going back to Compose but the VEC doesn't load the client page, it stays on the dealer page.
I tried changing the Delivery to URL https://mysite.com And userType (the param used in Launch, and the name of the cookie) equals client. This doesn't work either.
How do I make the VEC read the userType cookie so that it loads the client page?