@financial-times/ads-display
Advanced tools
Comparing version 2.0.3 to 2.0.4
/* eslint-disable */ | ||
import * as nTracking from '@financial-times/n-tracking' | ||
import 'regenerator-runtime/runtime.js' | ||
@@ -17,2 +18,3 @@ import { displayAds, getAdsData, adsUtils } from '../dist/client' | ||
ads: true, | ||
oTracking: true, | ||
adsEnableSmartmatchInTargeting: true, | ||
@@ -35,2 +37,6 @@ AdsPermutive: true, | ||
window.addEventListener('DOMContentLoaded', async () => { | ||
if (flags.get('oTracking')) { | ||
nTracking.init({}); | ||
} | ||
if (flags.get('ads')) { | ||
@@ -47,3 +53,3 @@ // whatever app based logic needs to happen | ||
sandbox: isArticlePreview, | ||
disableMonitoring: true, | ||
disableMonitoring: false, | ||
lazyLoadMargins: { | ||
@@ -50,0 +56,0 @@ 760: '15%', |
/* eslint-disable */ | ||
import * as nTracking from '@financial-times/n-tracking' | ||
import 'regenerator-runtime/runtime.js' | ||
@@ -17,2 +18,3 @@ import { displayAds, getAdsData, adsUtils } from '../dist/client' | ||
ads: true, | ||
oTracking: true, | ||
AdsPermutive: true, | ||
@@ -35,2 +37,6 @@ moatAdsTraffic: true, | ||
window.addEventListener('DOMContentLoaded', () => { | ||
if (flags.get('oTracking')) { | ||
nTracking.init({}); | ||
} | ||
if (flags.get('ads')) { | ||
@@ -47,3 +53,3 @@ // whatever app based logic needs to happen | ||
sandbox: isArticlePreview, | ||
disableMonitoring: true, | ||
disableMonitoring: false, | ||
/* | ||
@@ -50,0 +56,0 @@ lazyLoadMargins: { |
{ | ||
"name": "@financial-times/ads-display", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Bring ads to your page with the FT specific o-ads configuration", | ||
@@ -40,5 +40,5 @@ "browser": "dist/client.js", | ||
"dependencies": { | ||
"@financial-times/ads-permutive": "^2.0.3", | ||
"@financial-times/ads-permutive": "^2.0.4", | ||
"@financial-times/n-tracking": "1.4.0", | ||
"@financial-times/ads-legacy-o-ads": "^2.0.3", | ||
"@financial-times/ads-legacy-o-ads": "^2.0.4", | ||
"@financial-times/o-tracking": "^2.0.3", | ||
@@ -45,0 +45,0 @@ "@financial-times/privacy-us-privacy": "^1.0.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60766
1114