Skip to content

buildStreamUrl

buildStreamUrl(target, protocol?): string

Defined in: protocol.ts:68

Build the stream URL.

sdk=1 is not optional and not a feature flag: it tells the server to suppress its own server-side impression for this request. The SDK renders inside the customer’s page, so it is the only party that knows whether the creative was ever actually on screen — and a server-side impression on top of the client’s own would double-count every view, and would keep counting from a CDN-cached SSR response that no human ever saw.

StreamTarget

number = PROTOCOL_CURRENT

string