Hi all! I need to save the link which the user used to enter the site, for example, http://mysite.com/?ref=0oqpxquyea. I want to be able save this link in the variable and use this info on another page in (JavaScript) tag.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How can I set a persistent variable in JavaScript? | 0 | 334 | August 2, 2021 | |
| Window Location Href How it work on shopify | 0 | 49 | December 29, 2020 | |
| Store a variable from URL to use in theme | 2 | 14 | December 8, 2021 | |
| How to prevent UTM value on a link from being lost when users switch among pages? | 1 | 42 | October 13, 2023 | |
| How to store customer input in a liquid variable? | 0 | 15 | November 22, 2023 |