Skip to content

Embed in Framer, Webflow, and Next.js

By OptinStack Team - Jun 28, 2026 - 2 min read

Every platform uses the same OptinStack two-tag install. Designer plugins help you configure and preview; you still install the snippet early in the published site head for enforcement.

Webflow

Use the OptinStack Webflow app to configure and preview consent in Designer. Add it from the Webflow Marketplace, then paste the two-tag install as the first entry in Site settings → Custom code → Head code yourself; the app does not inject it. Install OptinStack on Webflow has the Head-code steps, including uninstall.

Framer

Open the OptinStack plugin from the Framer Marketplace (Open Plugin, then select the project). From Implementation, add the two-tag install at Start of head, then publish. Install OptinStack on Framer has the steps, including uninstall.

Next.js and custom sites

Load the two-tag install first in document head (for example in a root layout) without async or defer. Place GTM and other tags after OptinStack so Consent Mode and blocking can initialize first.

Same JavaScript API everywhere: await OptinStack.ready, choices, events, and open-preferences. See docs.optinstack.com for the full reference.

Next steps

  • Copy the two-tag install from Implementation.
  • Verify the banner on a real hostname over HTTPS.
  • Run a domain scan and review tracker categories.
  • Wire GTM Consent Mode if you use Google tags.

Related articles

Implementation

Install OptinStack on Webflow

Step-by-step Webflow Head-code install for the OptinStack two-tag snippet, plus how to uninstall without leaving the runtime on the published site.

OptinStack Team · 2 min read

Implementation

Install OptinStack on Framer

Step-by-step Framer plugin and Start-of-head install for the OptinStack two-tag snippet, plus how to uninstall without leaving the runtime on the published site.

OptinStack Team · 2 min read

Getting started

Install OptinStack on your site

Add the two-tag OptinStack install, load it without async or defer, and confirm the consent banner renders.

OptinStack Team · 3 min read

Implementation

Integrate OptinStack with Google Tag Manager

Configure OptinStack with Google Tag Manager from start to finish, including the GTM template, Consent Mode v2, testing, and how to uninstall the tag, template, and head install.

OptinStack Team · 8 min read

Implementation

Tracker blocking (withdrawn)

This article is withdrawn. Do not treat OptinStack as blocking trackers before the visitor chooses.

OptinStack Team · 1 min read

How helpful was this article?