menu

Framer

Create interactive designs from start to finish. Try Framer for free.

Channels
Team

Link to a specific screen using hash

February 14, 2019 at 12:23pm

Link to a specific screen using hash

February 14, 2019 at 12:23pm (Edited 2 months ago)

Hello. I want to assign hash to a URL like this: website.com#IAmHash

Then, I want to get it using window.location.hash and redirect to desired flow. I want to use it in AB-testing.

Unfortunately, print returns hash without content, although it appears in console.

Example: https://framer.cloud/rtANc#IAmHash

print window.location.hash returns "".

Question: Why is it? Is there a way to solve it?

No messages yet