- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
On our new marketing website we run a splash-page on our homepage that has basically 3 options, that sends you to a section of the page.
What I want: After selection of preferred section, that selection should be persisted and upon any next visit the user should be redirected to the previously chosen section.
What I tried so far:
Set UDO to text with condition: URL equals (ignore case) ../xxx
Persist Variable UDO, visitor and keep first value set and store in cookie
The UDO gets set correctly, but is never stored in cookie.
I am seeing the UDO var and cookie getting set as expected when I visit https://new.brandnewday.nl/particulier/
What I don't see working is the redirect. The issue there is that the logic check of the redirect extension fails:
b['cp.VirtualHome'].toString().toLowerCase().indexOf('particulier'.toLowerCase()) > -1 && b['dom.url'].toString().toLowerCase() == 'https://new.brandnewday.nl'.toLowerCase()
It fails because:
Notice their is no trailing slash at the end of the right side.
I hope this helps point you in the right direction.
Copyright All Rights Reserved © 2008-2023