VASTlint

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.03.04.04.1+
NoYesNoYes

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

Related events

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.

Further reading