I am trying to make a user check in Site Code but with no luck.
Is that code not usable in Site Code just Page Code? I can't find anything about any restrictions of this inside the docs.
It seem that in Site Code you will have to enter a fully qualified domain url not just /page-url but the whole https://www.domain.com/page-url to make it work. Any comments from the team?