Seat Preevue developer docs

Viadukt

For Viadukt sites (over Tessitura). One script replaces a vendored copy of the old Seat Preevue code: your seat modal passes what it already has, and everything venue-specific is set up on our side.

1. The script tag

<script src="https://assets.seatpreevue.com/sdk/v1/seatpreevue-viadukt.js"></script>

?key=pk_live_… is optional; without it the script works keyless, from your registered domain.

2. The call

Where the seat modal called initSeatPreevue("preevue-viewer", venueKey, seatId), call:

await SeatPreevueViadukt.show('preevue-viewer', {
  seatLocation: seat.dataset.seatLocation, // the area as shown, for example "Upper Circle"
  row: seat.row,
  number: seat.number,
  venueId: instance.venue.id,              // the Tessitura venue id
});

An auditorium we have no venue for shows "No view for this seat yet" instead of failing.

3. Register your domain

Send us the address of a page with the seat modal (live and staging).

4. Messages and CSP

See Errors and messages and CSP (Mode A).