@highfivve/ad-tag 5.8.22 → 5.8.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -263,8 +263,10 @@ export const gptDefineSlots = () => (context, slots) => {
|
|
|
263
263
|
null
|
|
264
264
|
];
|
|
265
265
|
case 'out-of-page-interstitial':
|
|
266
|
+
const interstitialSlot = context.window__.googletag.defineOutOfPageSlot(resolvedAdUnitPath, context.window__.googletag.enums.OutOfPageFormat.INTERSTITIAL);
|
|
267
|
+
interstitialSlot?.setConfig({ interstitial: { triggers: { contentPause: false } } });
|
|
266
268
|
return [
|
|
267
|
-
|
|
269
|
+
interstitialSlot,
|
|
268
270
|
context.window__.googletag.enums.OutOfPageFormat.INTERSTITIAL
|
|
269
271
|
];
|
|
270
272
|
case 'out-of-page-bottom-anchor':
|
|
@@ -49,7 +49,7 @@ export const MoliAnalytics = () => {
|
|
|
49
49
|
};
|
|
50
50
|
const configValid = (config, logger) => {
|
|
51
51
|
if (!config) {
|
|
52
|
-
logger.
|
|
52
|
+
logger.debug('moli-analytics: not configured');
|
|
53
53
|
return false;
|
|
54
54
|
}
|
|
55
55
|
if (!config.publisher) {
|
|
@@ -72,7 +72,8 @@ export const MoliAnalytics = () => {
|
|
|
72
72
|
};
|
|
73
73
|
const initMoliAnalytics = async (adPipelineContext) => {
|
|
74
74
|
if (!configValid(config, adPipelineContext.logger__)) {
|
|
75
|
-
|
|
75
|
+
adPipelineContext.logger__.error('failed to initialize moli analytics: invalid or no configuration');
|
|
76
|
+
return Promise.resolve();
|
|
76
77
|
}
|
|
77
78
|
eventContext = {
|
|
78
79
|
publisher: config.publisher,
|
package/lib/gen/packageJson.js
CHANGED