Just verified, and you can use
`if (window.top != window)` here in order to check if you're in the embedded iframe or not, and remove the need for the URL param.