Cannot send beacon: TypeError: window.location.query is not a function
Hi there -
Hoping you can help me understand why I a getting the error:
Cannot send beacon: TypeError: window.location.query is not a function
Here is the window.location.query code I found in the Launch library that I think is causing the issue:
settings: {
orgId: "Xreplaced the value hereX@AdobeOrg",
customSetup: {
source: function() {
console.log(window.location.query("cmp"))
}
},
In Launch, I have a data element %campaignid% that is set to capture value from cmp query string parameter.

This value is passed on global page view and one other rule.
The page view isn't showing up in Adobe.
Am I missing something? Is there something else I can share to make the scenario more clear?
Thanks,
PFeach