Thanks to visit codestin.com
Credit goes to docs.context.dev

Skip to main content
Logo Link URLs return image bytes directly. Pair them with Google Sheets’ built-in IMAGE() formula to render a logo in a cell when one is available. Logo Link in Google Sheets

Prerequisites

  • A Context.dev account with a Logo Link publicClientId (prefix brandLL_). Copy it from the Logo Link dashboard.
Google Sheets may fetch images through Google infrastructure rather than from your browser. Test the workbook with your Logo Link referring-domain restrictions enabled before sharing it. Replace brandLL_xxx with your public client ID, then paste this formula into a cell:

Use a domain column

Reference a cell containing the domain instead of hardcoding it. If cell A2 holds stripe.com:
Drag the formula down a column to fetch logos for an entire list of domains.

Sizing

The second argument of IMAGE() controls how the logo fits inside the cell. From Google’s IMAGE() reference:
For mode 4:
Adjust row height and column width so logos display at a reasonable size. Mode 1 (fit to cell) usually looks best. Icons are usually square; wordmarks may be wider.

Handle missing images

Not every domain resolves to an image that Google Sheets can display. Keep the domain visible in another column and use IFERROR when a blank cell is preferable to a formula error:

Limitations

  • Google Sheets applies its own URL, format, and security rules to IMAGE(). A URL that renders in a browser can still appear blank in a sheet.
  • Logo Link can return different image media types. Check the response’s Content-Type when diagnosing a format-specific failure.
  • Referring-domain restrictions can behave differently when Google fetches the image. Test the exact workbook flow rather than weakening the restriction by default.
  • Do not download, persist, or rehost the returned Logo Link image file. Follow the Logo Link usage boundaries.

Next steps

Microsoft Excel

Same workflow in Excel for Microsoft 365 and Excel for the web.

Logo Link reference

All Logo Link URL options and the publicClientId setup.

Zapier integration

Programmatic enrichment for Google Sheets rows beyond logos.

Logo Link dashboard

Manage your public client ID, restrictions, and usage.