We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a3e36 commit e5d081bCopy full SHA for e5d081b
‎static/to_compile/controllers/shared/analytics.ts‎
@@ -143,9 +143,9 @@ export default class extends Controller<HTMLElement> {
143
this.personProperties.iframe = weAreInAnIframe
144
this.personProperties.iframeReferrer = referrer
145
const url = new URL(window.location.href)
146
- if (url.searchParams.has(URL_PARAM_NAME_FOR_IFRAME_SCRIPT_MODE)) {
147
- this.personProperties.iframeFromScript = true
148
- }
+ this.personProperties.iframeFromScript = url.searchParams.has(
+ URL_PARAM_NAME_FOR_IFRAME_SCRIPT_MODE,
+ )
149
}
150
151
#computeConversionScoreFromSessionStorage() {
0 commit comments