What does the Javacript in the SquareOffs embed do?

Updated Sep 3, 2026

SquareOffs technology is delivered via an iframe embed, which is essentially a window hosted by SquareOffs that appears within the publisher’s website. Due to standard web browser security (same-origin policy), this iframe cannot access any JavaScript variables, DOM elements, or video player data from the parent page.
​
The SquareOffs embed is typically accompanied by a single line of JavaScript (embed.js) that serves a few limited purposes:

  • Automatically adjusting the iframe height to fit its content

  • Tracking whether or not a user is logged in and display around that

  • GPC Plugin Opt Out (Global Privacy Control)

Importantly, SquareOffs does not track video viewing behavior (such as play, pause, or completion) from the publisher’s page.

Still need help? Contact Support

We use cookies to ensure you get the best possible experience on our website. Learn more OK, GOT IT