Closed articles instrumentation

All closed articles should be instrumented with a page var.

There are two kinds of closed articles:

Hard closed articles

Articles closed for everyone like Opinion or long-form articles.

window.marfeel.cmd.push(['compass', function(compass) {
	compass.setPageVar('closed', 'hard-paywall');
}]);

Dynamically closed articles

Articles closed dynamically based on user consumption, pageviews, rfv or any other metered strategy.

window.marfeel.cmd.push(['compass', function(compass) {
	compass.setPageVar('closed', 'dynamic-paywall');
}]);

Flowcards targeting

On Experience Manager the closed pageVar can be leveraged as a custom var. This might be useful to exclude flowcards from closed articles.