menu

Framer

Express your creative ideas through interactive design. Join the community for updates, support, resources, and more.

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 4 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