I'm trying to get the value of a variable in the query string example.com/?hop=test
And then pass it to a JavaScript in this form:
var exitsplashpage = 'http://example2.com/?hop=original_hop';
How do I get the original hop variable value using JavaScript and what is the correct format to put it into the exitsplashpage var?
Thanks!