JS obtém valor chave do URL

window.location.search
Tronic