Page MenuHomeWickedGov Phorge

ext.centralNotice.impressionEventsSampleRate.js
No OneTemporary

Size
374 B
Referenced Files
None
Subscribers
None

ext.centralNotice.impressionEventsSampleRate.js

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

File Metadata

Mime Type
text/plain
Expires
Oct 7 2026, 12:31 (6 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
60/00/2575181c806c9cfb1df744da87ac
Default Alt Text
ext.centralNotice.impressionEventsSampleRate.js (374 B)

Event Timeline