Embed the Fact Techz Word Counter
Add the Fact Techz Word Counter to another website with an iframe, and understand the design, privacy and browser-security limits before publishing.
Embed the Word Counter
You can place the Fact Techz Word Counter page inside another page using an HTML iframe. Copy the snippet below and paste it into the HTML of the page where you want the counter to appear.
<iframe src="https://fact-techz.pages.dev/word-counter" title="Fact Techz Word Counter" width="100%" height="900" loading="lazy" style="border:0;max-width:100%;" referrerpolicy="strict-origin-when-cross-origin"></iframe>The snippet embeds the current full Word Counter page, not a compact, separately hosted widget. It includes the page's own header, navigation, explanations and controls.
What the iframe can do
- Display the Fact Techz Word Counter inside the available space on your page.
- Let visitors type or paste text into the embedded counter and use the controls within that frame.
- Keep text processing inside the visitor's browser; the text is not sent to your website by the iframe.
What the iframe cannot do
- It does not give your website access to the visitor's text or the counter's internal page content. Cross-origin browser protections keep the two pages separate.
- Your site's CSS cannot restyle the inside of the Fact Techz page. You can change the iframe's outer width, height and border only.
- This is not a white-label component or a small single-field widget. The full Word Counter page is displayed.
- Embedding can be blocked by browser security headers such as Content-Security-Policy
frame-ancestorsor X-Frame-Options. The target page's response headers decide whether a third-party site may frame it.
Suggested sizing
Start with width="100%" and a height around 900 pixels. Increase the height if the embedded page shows a vertical scrollbar. On a narrow mobile layout, let the iframe use the full available width.
Visitors using the embedded page receive the same privacy behaviour as visitors on Fact Techz directly: tool text is processed in their browser, while Google Analytics collects pages visited, visits and engagement plus browser and device information using a first-party cookie with a random client ID, as described in the Privacy Policy.
Related pages
Sources and references
These references explain the browser and web-platform behaviour described on this page.
Frequently asked questions
What exactly does the iframe embed?
It embeds the current full Fact Techz Word Counter page, including its header, explanatory content and controls. It is not a compact standalone widget.
Can I change the design inside the iframe?
No. Your page can size and frame the iframe element, but browser origin boundaries prevent your CSS from styling the embedded Fact Techz document.
Can my website read the visitor’s text?
No. The embedded page is hosted on Fact Techz, and cross-origin browser protections prevent the parent page from reading the iframe document or its text.
Will the iframe work on every website?
Not necessarily. The browser may block embedding if the response includes restrictive Content-Security-Policy frame-ancestors or X-Frame-Options headers. Test it on the site where you plan to use it.
Does embedding change the privacy behaviour?
No. Text is processed in the visitor’s browser and is not sent to the host website. Fact Techz Google Analytics still collects site-usage data as described in its Privacy Policy.