GEO: make video content accessible to AI engines

Expose video descriptions and transcripts in page HTML, with JOIN widgets or the Publisher API, and verify your pre-rendered output.

JOIN can expose video descriptions and transcripts as HTML text alongside your widget. This complements JSON-LD structured data and helps crawlers access the information contained in your videos.

The integration makes content available; it does not guarantee indexing, ranking, or citation by an AI engine. Verify the HTML actually delivered to the crawler, not only the page displayed in your browser.

Choose your integration

  • Already using a JOIN web widget: use the built-in GEO HTML option. Keep your existing embed code.
  • Building a custom integration with the API: retrieve the same data and render it in your page body, preferably on the server or during static generation.

Use one HTML integration per widget to avoid duplicate content. Keep JSON-LD as complementary structured data when appropriate.

Option 1: use the JOIN widget

Enable GEO HTML

Ask your JOIN contact to enable GEO HTML for your workspace and confirm the widget scope. It is an opt-in feature. JOIN must regenerate the affected widgets after activation so their published scripts include the setting.

Your existing widget embed continues to work. When the enabled widget loads, it loads the GEO module, requests the relevant published content from the Publisher API, and inserts an HTML section after the widget container. No video playback or accordion click is required to load the text.

The widget uses its current product, language, and audience context to select the content. A failed GEO request must not be treated as a successful integration check: inspect the request and generated HTML as described below.

Default display and optional settings

By default, the generated section uses display: none !important. It occupies no layout space and does not use the hidden attribute. This is a display choice, not a guarantee that every crawler will use hidden text.

Add these optional attributes to the existing widget script element, not the global script. They do not enable the workspace feature by themselves.

AttributeBehavior
data-join-geo-visible="true"Shows a collapsed, user-expandable accordion. It takes layout space when visible. Omit it, or use "false", to keep the section hidden.
data-join-geo-div-id="video-details"Inserts the section into the element with this ID. Create the target before the widget loads. Without a usable target, the section is inserted after the widget container.
data-join-geo-label="About these videos"Sets the accordion summary label.

For a custom position and visible accordion, add the target element and update your existing widget script as illustrated below. Replace the three placeholders with the values from your current embed. Keep its widget container, styles, audience setup, and any product-matching or fallback logic. Do not add a second copy of the script.

<div id="video-details"></div>
<script
  src="YOUR_EXISTING_WIDGET_SCRIPT_URL"
  data-join-widget-id="YOUR_EXISTING_WIDGET_CONTAINER_ID"
  data-join-widget-alias="YOUR_WIDGET_ALIAS"
  data-join-geo-visible="true"
  data-join-geo-div-id="video-details"
  data-join-geo-label="About these videos"
  type="text/javascript"
></script>

If you do not need a custom position or visible accordion, make no changes to the embed.

Option 2: render HTML from the Publisher API

Use Get container with jsonLd=true and isPublished=true. The response is a JSON object containing the container data and a jsonLd field; it is not an HTML fragment.

The API base path for these examples is https://api.stories.studio/v3. The documentation version name is separate from the API URL. Do not use payloadType=sdk for this integration: that format does not include jsonLd.

Request the same content as your widget

const teamId = "MY_TEAM_ID";
const containerAlias = "MY_CONTAINER_ALIAS";
const url = new URL(
  "https://api.stories.studio/v3/teams/" +
  encodeURIComponent(teamId) + "/containers/" +
  encodeURIComponent(containerAlias)
);
url.searchParams.set("jsonLd", "true");
url.searchParams.set("isPublished", "true");
url.searchParams.set("language", "en");
// For a product matcher, also set the current product:
// url.searchParams.set("productId", "YOUR_PRODUCT_ID");
// Preserve any audience constraints used by the widget:
// url.searchParams.set("wcp_YOUR_PARAMETER", "YOUR_VALUE");
const response = await fetch(url);
if (!response.ok) throw new Error("JOIN API returned " + response.status);
const data = await response.json();
const videos = data.jsonLd?.itemListElement?.map(entry => entry.item) ?? [];

Run this during server rendering or static generation where possible. Adapt the language, product ID, and audience constraints to the page; do not inject unrelated stories from other products or widgets. Keep any cached response or generated page scoped to the same context, and refresh it when the published content changes.

Read the video fields

Each video is located at jsonLd.itemListElement[].item. The following is an abbreviated example, not a complete response:

{
  "jsonLd": {
    "@context": "https://schema.org",
    "@type": "ItemList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "item": {
          "@type": "VideoObject",
          "name": "How to use the product",
          "inLanguage": "en",
          "description": "A demonstration of the product.",
          "transcript": "Apply a small amount and spread evenly."
        }
      }
    ]
  }
}

Render the available name, description, and transcript values as text in your page's <body>. Use your framework's escaped text interpolation; for browser-side DOM creation, use textContent. Do not insert API text through unescaped HTML strings or innerHTML.

A visible, collapsed accordion is one possible presentation. This illustrative HTML shows the structure; populate it with the current API data:

<section aria-label="Video descriptions and transcripts">
  <details>
    <summary>About these videos</summary>
    <article lang="en">
      <h3>How to use the product</h3>
      <p>A demonstration of the product.</p>
      <p>Apply a small amount and spread evenly.</p>
    </article>
  </details>
</section>

Skip empty fields and omit the section when no description or transcript is available. Do not invent a transcript or repeat the description as though it were spoken audio.

Keep JSON-LD as complementary metadata

You can also serialize data.jsonLd into a <script type="application/ld+json"> element. Use your framework's safe JSON-LD serializer. If constructing the script text yourself, escape < in the serialized JSON as \u003c so content cannot prematurely close the script element.

JSON-LD describes the videos in a machine-readable format. HTML paragraphs expose their text in the page body. Neither format alone guarantees that a particular AI engine will use the content.

Make the content available to crawlers

Browser-side injection changes the DOM after JavaScript runs. It does not automatically add text to the initial HTML response. Some crawlers do not execute JavaScript.

For an existing pre-rendering pipeline, including a GOT-style pipeline that serves snapshots through a CDN:

  1. Allow the pre-renderer to load the widget, the GEO module, and the API response.
  2. For a widget known to have text, wait until its GEO section contains the expected description or transcript. Do not capture a snapshot merely because the widget container exists. Use a bounded timeout and report failed captures.
  3. Preserve the section and its text in the saved HTML; check that HTML cleanup does not discard it.
  4. Refresh snapshots and CDN caches when stories are updated, unpublished, or removed from the widget.
  5. Inspect the actual HTML response served through that crawler path. Keep it consistent with the videos and content available on the corresponding user page.

A CDN alone does not execute the widget or create a pre-rendered page. The snapshot generation and refresh process must be configured separately.

Hidden versus visible content

The widget's hidden mode preserves the existing page layout. A visible accordion lets visitors read the same text. Choose the presentation deliberately and test your target crawlers.

Do not treat display:none as a ranking technique or assume that removing hidden guarantees extraction. For Google rich results, follow the structured data guidelines, including consistency with content accessible to users. Google's JavaScript SEO guidance also explains the benefit of server rendering or pre-rendering.

Verify the integration

For the built-in widget integration:

  1. Open the live page and inspect the Network panel. Confirm the widget script, GEO module, and container request with jsonLd=true load successfully. Check the product, language, and audience parameters.
  2. In the Elements panel, search for data-join-geo-widget. Confirm the section belongs to the expected widget and contains the correct stories. Description and transcript paragraphs use data-join-geo-field="description" and data-join-geo-field="transcript".
  3. In hidden mode, confirm the section has computed display: none, no hidden attribute, and a rendered height of zero. The optional visible accordion is expected to occupy space.
  4. Inspect the server-rendered or pre-rendered HTML response separately. Finding text in Elements proves browser injection, not availability in the HTML delivered to a crawler.
  5. Test extraction with the intended engine and repeat after a content update. Record the page, date, and returned text. Successful extraction is not a promise of future indexing or citation.

For a custom API integration, perform the same content and delivered-HTML checks on your own markup.

Missing or unexpected text

  • No GEO section: confirm workspace activation, widget regeneration, available text, and successful network requests. Check that your security policy permits the existing JOIN resources and API calls.
  • Description present, transcript absent: transcripts are optional. Videos without usable speech or transcripts rejected by validation may only have a description.
  • Song lyrics in a transcript: a transcript can faithfully reproduce sung words. Validation checks correspondence to the audio; it does not promise to remove all song lyrics. Choose or adapt the video's audio if these words are unsuitable for your page.
  • Old text: compare the API response, the browser DOM, and the pre-rendered response to locate the stale layer. Regenerating a widget and refreshing a merchant's pre-rendered snapshot are separate operations.
  • Wrong product or language: verify that the API request and snapshot cache use the same context as the widget.

For the request parameters and response contract, see Get container.


Did this page help you?