// excerpted from Glance Docs

iframes and the Glance script tag

For iframes to appear in Cobrowse sessions, each Iframe must also include a Glance script tag.

// TODO: excerpt relevant part of Glance script here <script id="glance-cobrowse" charset="UTF-8" type="text/javascript" ... /></script>

Exceptions

There are exceptions to that rule:

<script <!-- TODO: add code here --> ... /></script>

In these cases, Glance is able to automatically include the iframe in the Cobrowse session.

On this page

The game on this page is in an iframe, and the src of the iframe is on another subdomain. The game appears during Cobrowse because Glance's javascript is in this page, and also in the code of that external iframe src; e.g.,

// TODO: excerpt relevant part of Glance script here <script id="glance-cobrowse" charset="UTF-8" type="text/javascript" ... /></script>

Continue reading on help.glance.cx →