VAST tracking events / Linear
VAST closeLinear tracking event
Short answer: Fires when a linear ad is closed. 4.1+ replacement path for linear close. Introduced in VAST 3.0.
When it fires
The linear creative was closed. VAST 3.0 introduced it. VAST 4.0 briefly preferred acceptInvitationLinear in some tables. VAST 4.1 keeps closeLinear as the linear close name. Do not use NonLinear close on Linear.
Where it is valid
| 2.0 | 3.0 | 4.0 | 4.1+ |
|---|---|---|---|
| No | Yes | No | Yes |
Legal containers: Linear. An event in the wrong container is not a player error. It is a URL nobody calls.
Using it in a tag
<TrackingEvents>
<Tracking event="closeLinear">
<![CDATA[https://track.example.com/closeLinear]]>
</Tracking>
</TrackingEvents>VAST XML fragment only. This excerpt belongs inside a complete VAST document, so standalone validation will fail until it is wrapped in a full <VAST>response.
Related vastlint rules
- VAST-4.1-tracking-event-value: Tracking event attribute not in the valid set for this VAST version
Related events
- close: Fires when a NonLinear creative is closed by the user.
- skip: Fires when the user skips a linear ad. Requires skipoffset on Linear.
- complete: Fires when linear playback reaches the end of Duration.
Check the XML, then confirm the beacons fire
Validate the event names and containers on the document. Test a live URL when the XML is clean and reporting is still empty.