In short
Clickjacking means a hostile site loads your page in an invisible frame and tricks users into clicking things. Prevent it by telling browsers your pages can't be framed by other sites, with X-Frame-Options or the CSP frame-ancestors directive. Informational in PageSpeed, but this one is quick and low-risk to fix.
Content-Security-Policy: frame-ancestors 'self'
X-Frame-Options: SAMEORIGIN
Apache: Header always set X-Frame-Options "SAMEORIGIN". WordPress: security plugins or the host's header settings. Cloudflare: a Transform Rule adding the header. Shopify, Webflow and Wix: platform-managed.
If you intentionally embed your pages on another domain you own, list that domain in frame-ancestors.
This guide isn't affiliated with or endorsed by Google.
Related issues
Sources and references
MDN, X-Frame-Options
MDN, CSP: frame-ancestors

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



