Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.alttextlab.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Basic installation

Copy the snippet from your Web Snippets dashboard and paste it before </head>. If you haven’t created a snippet yet, see Get started.
<script src="https://cdn.alttextlab.com/embed.js"
  data-site-id="your_site_id"
  data-public-key="your_public_key"
  data-lang="en"
  data-style="neutral"
  defer
></script>

Google Tag Manager

If you don’t have direct access to the HTML source, deploy via GTM. Option 1 — Custom HTML tag
  1. In GTM, create a new Custom HTML tag
  2. Paste the <script> tag as the tag content
  3. Set the trigger to All Pages
  4. Publish the container
Option 2 — GTM Template Gallery Use the official AltTextLab template from the GTM Template Gallery. The template includes all parameters as configurable fields — no manual script editing required.

Parameters

ParameterRequiredDefaultDescription
data-site-idYesAuto-generated site ID. Do not change.
data-public-keyYesAuto-generated public key. Do not change.
data-langYesLanguage code for generated alt text (e.g. en, de). See supported languages.
data-styleYesWriting style: neutral, descriptive, matter-of-fact, or minimal. See Writing styles.
data-min-natural-sizeNo0Minimum image dimension in pixels. Images smaller than this value are skipped. Default 0 processes all images.
data-delayNo0Delay in milliseconds before the snippet starts scanning.