Page MenuHomeWickedGov Phorge

ext.centralNotice.impressionEventsSampleRate.js
No OneTemporary

Size
370 B
Referenced Files
None
Subscribers
None

ext.centralNotice.impressionEventsSampleRate.js

/**
* Allows setting a custom sample rate for the logging of impression events.
*/
( function () {
const cn = mw.centralNotice,
mixin = new cn.Mixin( 'impressionEventsSampleRate' );
mixin.setPreBannerHandler( ( mixinParams ) => {
cn.setMinImpressionEventSampleRate( mixinParams.rate );
} );
// Register the mixin
cn.registerCampaignMixin( mixin );
}() );

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 08:38 (16 h, 16 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3f/a8/365b7f9ee6a0e3f6d3b92fe54160
Default Alt Text
ext.centralNotice.impressionEventsSampleRate.js (370 B)

Event Timeline