Glossary, On the page33 / 78
Embed script
Also called: loader script, embed code
An embed script is a short piece of code that a website adds to its pages to load a feature from another provider, such as a chat, a video player or an ad.
Many services reach websites through embed code. The site owner adds a script tag, often a single line, to its pages. In the visitor’s browser, the script then loads the provider’s code and draws the feature on the page, often inside a frame that keeps it apart from the page’s own code.
Such a script runs on the website’s pages and in the visitor’s browser, so the website’s own rules apply to it too, for example the choices visitors make in its consent banner.
The embed script is a single script tag that a partner website adds to show a PAISTRY agent on its pages. Its look and behaviour come from a configuration for that website. The script draws the question box and opens the agent window. The agent itself runs in a frame inside the page. The script also reads the website's consent banner through the IAB TCF, where the site has one. It stores a few entries on the partner's website, all listed in PAISTRY's privacy policy.