diff --git a/blocks/marketing/marketing.js b/blocks/marketing/marketing.js index 9484c18..ca5116f 100644 --- a/blocks/marketing/marketing.js +++ b/blocks/marketing/marketing.js @@ -82,14 +82,14 @@ export default async function decorate(block) { } } else { window.tude.setFeatureFlags({ injectAds: false }); - const ad_test = new URLSearchParams(window.location.search).get('ad_test'); - if(ad_test) { + const adTest = new URLSearchParams(window.location.search).get('ad_test'); + if (adTest) { window.tude.refreshAdsViaDivMappings([{ divId: slot, baseDivId: slot, targeting: { - ad_test: ad_test - } + ad_test: adTest, + }, }]); } else { window.tude.refreshAdsViaDivMappings([{