Set meeting room name from the URL

I am using 8x8 domain and I am looking a way to enter the meeting room name from the URL entered such that:

www.mywebsite.com/jitsi.html/ROOMNAME
var domain = "8x8.vc";
            var options = {
                roomName: "vpaas-magic-cookie-SecretKey/ROOMNAME", <-- Want to enter it here
                jwt: 'secretKey',
                parentNode: document.querySelector("#api-parent"),
                configOverwrite: {
                    prejoinPageEnabled: false,
                    startWithAudioMuted: true,
                    startWithVideoMuted: true,
                    requireDisplayName: true,
                },

Is there any way to pass “ROOMNAME” from URL to roomName in the code? :sweat_smile: