Documentation

Add a Decoy Page with one HTML iframe.

Embed a template

  1. Open the template gallery and choose a design.
  2. Customize the live preview. Use fullscreen for a homepage or inline for a section with a fixed height.
  3. Copy the embed code and paste it into an HTML block on your page.

HTML, Next.js, and WordPress

In a standard HTML page, paste the snippet inside the body. For a fullscreen placeholder, remove body margins and give the iframe the full page layout.

In Next.js or React, use an iframe in your page component. Convert referrerpolicy to referrerPolicy and use a JSX style object with keys such as borderRadius. For a custom error page, your application sets the HTTP status.

In WordPress, paste the snippet in a Custom HTML block. If WordPress removes the iframe when you save, check whether your role and hosting plan allow iframe HTML.

Content Security Policy

If your website sets a restrictive Content Security Policy, allow the widget origin in its frame-src directive. This installation serves widgets from https://decoy-embed.automateandescape.com. The generated snippet includes a restrictive sandbox and a no-referrer policy.

Access control and privacy

DecoyPages supplies the public-facing visual layer. Use your application’s authentication and authorization to protect private pages and APIs. The widgets contain no visitor-tracking scripts.