Italiano
Open source · Free · Zero data collected

Every visitor already has an AI they trust.
Let it read your page.

AI Ask Widget adds an "ask your AI" button to your site: visitors type a question and it opens ready-to-go in their AI, with your page URL as context. No copy-pasting, no chatbot to train, no data passing through you.

ChatGPT Perplexity Google AI Mode Grok Claude
1 line of code 5 AIs supported ~17KB zero dependencies $0 forever 0 cookies & trackers

Why their AI, not yet another chatbot?

A chatbot on your site is a stranger starting from zero. Your visitor's AI already knows them: their level, their language, how they like things explained. All you have to do is introduce it to your content.

/01

Explanations that fit

"Explain it like I'm 10", "adapt this to my online store", "translate it": every visitor gets the version of your content they actually need. Without you writing a single extra line.

/02

Zero friction

Your visitors would do it anyway: select, copy, open ChatGPT, paste, add the link. The widget turns five steps into one — and the conversation starts with your page as context.

/03

Zero infrastructure

No API keys, no backend, no token bills. It's a bridge, not a service: client-side JavaScript composing a link. That's why it can stay free forever.

Don't take our word for it: try it

The widget is live on this page, bottom centre.

Click the button below and ask anything about this page

For example: "Does this widget make sense for my site?" — your AI will get the question plus this page's URL, and can answer by actually reading it.

Can't see the button? You probably have an aggressive ad-blocker or JavaScript disabled.

How it works

Three steps, no magic. And we'll tell you where the limits are, too.

The visitor asks

They click the button, pick a suggested question or write their own.

The widget composes the prompt

Question + page URL (+ the optional "AI persona" you configured). All inside the visitor's browser.

Their AI answers

ChatGPT, Perplexity, Google AI Mode or Grok opens with the question already sent. For Claude, the question is copied ready to paste.

What it does. And what it doesn't.

This section exists because 90% of AI tools promise the opposite of what they can deliver.

✓ What it does

  • Passes your page as context to the visitor's AI
  • Kills the copy-paste dance between site and AI
  • Suggests questions to lower the first-use barrier
  • Copies a ready-made prompt for any AI, even mobile apps
  • Adapts to your site's language (5 languages), colour and position
  • Fires a JavaScript event so you can measure usage in GA4 — if you choose to

✗ What it doesn't do

  • Doesn't improve rankings: not on Google, not in AI answers
  • Doesn't answer questions: the visitor's AI does
  • Doesn't collect data, set cookies or call servers
  • Doesn't need API keys, backends or configuration
  • Doesn't guarantee the AI reads the page: depends on the AI chosen
  • Doesn't replace human customer support
The uncomfortable truth, free of charge: AI visits to your page triggered by a user feed neither search indexes nor model training. Anyone selling you "AI visibility" through a button is selling smoke. This widget is for something else: helping people who are already reading your content understand it better.

Installation: one line, for real

Paste it before the closing </body> tag. No account, no API key, no step two.

HTML — copy & paste
<script src="https://www.matteobononi.it/tools/gpt-ask/js/ai-ask.min.js" data-brand="Ask your AI" data-ai="chatgpt,perplexity,gemini" defer></script>

Done. The widget is live, in your site's language.

Customisation

Everything via data-* attributes, zero JavaScript to write.

data-aiWhich AIs to show: chatgpt, perplexity, gemini (Google AI Mode), grok, claude — one or more, comma-separated
data-brandButton text (e.g. "Ask your AI", "Ask about this article")
data-languageen, it, es, fr, de — defaults to your page's language
data-questionsCustom suggested questions (CSV or JSON)
data-context-prefixInstructions prepended to the prompt: give the AI a "persona" (e.g. "Answer as a senior developer")
data-colorHex colour without # (default: the first AI's colour)
data-positioncenter, right or left
data-analytics"true" to push the ai_ask_send event to the dataLayer (GA4/GTM)

→ All the ready-to-copy examples

Honest questions, honest answers

Is it a chatbot?
No. It doesn't answer and has no backend: it opens the visitor's question, with the page URL, in the AI they already use. Their AI answers, in their interface, with their history and preferences.
Do my visitors need an AI account?
Depends on the AI. ChatGPT and Perplexity answer even without login — we verified it. Google AI Mode works in a regular browser. Grok requires an X account. For Claude, the widget copies the question to the clipboard and opens claude.ai, ready to paste.
What data do you collect?
None. No cookies, no fingerprinting, no external servers: it's 100% client-side JavaScript. The only thing that "leaves" is the link the visitor explicitly opens. If you want to measure widget usage, you can enable an event in your Google Analytics with data-analytics="true".
Does it improve my SEO or "AI visibility"?
No. User-triggered AI visits (ChatGPT-User and the like) feed neither search indexes nor model training. If you want AI visibility, you need citable content, structured data and crawler accessibility — different work entirely. This widget is for engagement and comprehension, and we say so plainly.
Why does Claude behave differently?
Anthropic removed the URL parameter that allowed pre-filling the chat (October 2025). So the widget copies the question to the clipboard, notifies the visitor and opens claude.ai: just paste with Ctrl+V. As soon as Anthropic restores a direct method, we'll adopt it.
How heavy is it? Will it slow down my site?
~17KB minified, zero external dependencies, loaded with defer: it doesn't block rendering. For scale: a single photo in a typical slider weighs twenty times more.
Is it really open source?
Yes, MIT licensed: code on GitHub. Read it, fork it, self-host it. The "Powered by" badge turns off with one attribute, no tricks.

30 seconds. $0. 0 inflated promises.

If it doesn't win you over, remove it with the same line you added it with.

Copy the code

Made by Matteo Bononi · GitHub · Examples · Versione italiana