Paywall impressions and clicks payload
The Paywall impressions and clicks payload follows the same structure and variables as the page load event script, with the following key differences:
- wId_2 Value: This field should be populated with the offer ID as shown in the payload in this section.
- action Value: This field should be set to one of the following values:
- 44 for an AI paywall impression event
- 51 for a hard/fixed paywall event
- 43 for a registration wall impression event
- 41 for a dismissible meter impression
- 28 for a paywall click event
- 70 for a registration wall click event
You can refer to the Key Event Types table for more details and a full list of available action values.
- increaseRA Boolean Value: Determines whether the page contributes to a metering or paywall count. Set this to true, as the paywall component will always be served on a page eligible for metering or counting.
{ "action": 28, "wId_2": ["1234-abcd", "5678-efgh"], "dtId": "a1b2c3d4-e5f6-78a9-bc01-23de45f6a7b8", "refer": "https://www.google.com/referurl", "requestUrl": "https://www.publisherdomain/path", "content": { "increaseRA": true, "section": "politics", "subSection": "local", "articleType": "long-form", "articleClass": "free" }, "user": { "userState": "registered", "userId": "1234-5678-abcd-efgh", "knownDate": "12-12-23", "isTrial": true, "isLapsed": false }, "product": { "offerName": "24+: offerte pop up", "offerKey": "123" }, "context": { "countryCode": "GBR", "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1", "referSource": "www.google.com", "custom": { "variable_1": "industry", "variable_2": "position", "variable_3": "responsibility" } } } }'