Documentation
Install AI share buttons anywhere
Three embed methods, ten platform guides and the honest limits of each. If you can edit HTML, you can install ShareCue.
No build step
Paste markup and save.
No speed cost
HTML embed is CSS only.
No tracking by default
Tracking is opt-in per widget.
The three embed methods
1. Standalone HTML and CSS
Self-contained markup with scoped styles. Works with no JavaScript, no account and no external requests. The links are baked in with the prompt for the page you configured.
<div class="sc-share" data-align="left">
<p class="sc-head">Explore with AI</p>
<div class="sc-list">
<a class="sc-btn" href="https://chatgpt.com/?q=..." target="_blank" rel="noopener noreferrer">ChatGPT</a>
<a class="sc-btn" href="https://claude.ai/new?q=..." target="_blank" rel="noopener noreferrer">Claude</a>
</div>
</div>2. Dynamic JavaScript widget
Save a widget to your account and paste one script tag. The script loads asynchronously, renders inside its own shadow DOM so your styles cannot collide with it, and keeps serving your latest design after you edit it. Multiple widgets can live on the same page.
3. Universal website widget
Install once and every page passes its own details. The script reads the current URL, canonical URL, page title, site name, meta description, language and author before building each prompt.
<!-- Install once, in your template or footer -->
<div data-sharecue-widget></div>
<script async src="https://your-domain.com/api/widget"
data-sharecue-config="..."></script>Working embed demo
This is the real universal script running on this page. It detected this page's own metadata and built the links itself.
Platform guides
WordPressFull support
Supported placements
Above or below the article, sidebar widget, site-wide footer
- 1.Open the post and add a Custom HTML block where the buttons should appear.
- 2.Paste the standalone HTML from the Install step of the generator.
- 3.For every post, add the universal widget snippet to your single-post template instead.
ShopifyFull support
Supported placements
Product pages, product descriptions, blog posts, theme footer
- 1.In the theme editor, open Online Store → Themes → Edit code.
- 2.Add a Custom Liquid block to your product template and paste the universal snippet.
- 3.For a single product, paste the standalone HTML in the description's HTML view.
WixHTML embed only
Supported placements
Any page, section or post body
- 1.Add an Embed → Custom Code element to the page.
- 2.Paste the standalone HTML and resize the element to fit the buttons.
- 3.Wix does not allow site-wide custom scripts on all plans, so use the universal widget only where custom code is available.
SquarespaceCode block and code injection
Supported placements
Blog posts, pages, site-wide footer
- 1.Add a Code Block to the post and paste the standalone HTML.
- 2.On Business plans, add the universal snippet to Settings → Advanced → Code Injection → Footer.
- 3.Save and view the published page, not the editor preview.
WebflowEmbed element and custom code
Supported placements
Rich text, page body, site-wide footer
- 1.Drop an Embed element into your rich text or page body and paste the standalone HTML.
- 2.For every post, paste the universal snippet in Project Settings → Custom Code → Footer Code.
- 3.Publish the site so the code goes live.
GhostHTML card and code injection
Supported placements
Post body, post template, site-wide footer
- 1.Add an HTML card in the editor and paste the standalone HTML.
- 2.For all posts, use Code Injection → Site Footer with the universal snippet.
- 3.Ghost strips some scripts from cards, so the footer method is the reliable one.
BloggerHTML view and theme edit
Supported placements
Post body, theme footer
- 1.Switch the post editor to HTML view and paste the standalone HTML.
- 2.For all posts, edit your theme and add the universal snippet before </body>.
- 3.Save the theme and check one post on mobile.
FramerEmbed component
Supported placements
Any page section, CMS template pages
- 1.Add an Embed component and paste the standalone HTML, then set its height to fit.
- 2.Add the universal snippet to a CMS collection template to cover every item.
- 3.Framer blocks some external scripts on lower plans; the HTML embed always works.
Base44Full support
Supported placements
Any React page, layout or rich text block
- 1.Paste the standalone HTML into a rich text or HTML block, or render the buttons directly in a component.
- 2.For a site-wide install, add the universal snippet to your root layout.
- 3.Use the widget script if you want design changes to apply without redeploying.
Custom HTML siteFull support
Supported placements
Anywhere you can edit markup
- 1.Paste the standalone HTML exactly where the buttons should render.
- 2.For every page, paste the universal snippet just before </body>.
- 3.No build step, no dependencies and no JavaScript required for the HTML version.
Click tracking
Saved widgets can route clicks through a short tracking link. The redirect records the platform, prompt, page, referrer, device and country when the network provides it, then sends the reader to the assistant. If the analytics write fails, the redirect still happens — a button never breaks because of tracking.
Troubleshooting
- • Nothing appears: check that the mount div sits directly before the script tag.
- • Old design shows: purge your page cache, then reload.
- • Buttons look wrong: your theme may style anchors globally — the shadow DOM version avoids that.
- • Long prompts: shorten the description; the designer warns before a link gets too long.
Using the ShareCue MCP server
AI assistants and agents can call ShareCue directly over the Model Context Protocol: generate buttons and embed code, audit AI readiness, write llms.txt, and read your widget analytics. The endpoint is https://sharecue.com/api/mcp.
MCP server setupStill stuck?
Send us the page you are working on and we will tell you which method fits.