Click "Preview" on the Appearance page of the TermsFeed app to see a change to your TermsFeed Privacy Consent cookie banner before any visitor sees it. The "Preview" button sits in the page head and in the save bar. It opens a dialog that renders your unsaved form on an example website, Northwind Coffee, and nothing reaches your website until you click "Save Appearance".

The preview shows your settings on a page that is not yours. Confirm every saved change on your live site, and test the phone layout on a real phone.

What the controls of the preview change

The bar of the preview dialog holds 3 controls: "Simulate visitor location", "Consent logic", and "Device". Changing a location or the consent logic reloads the example website as a first visit, and changing the device only rescales the frame.

Control Choices What it does
"Simulate visitor location" "Germany", "USA", "Canada", "Brazil", with the area of your company first Shows the consent banner as a first visit from that country gets it, with a line under the bar that says why
"Consent logic" "Standard", "Strict", starting on the one your consent banner publishes Shows the result of each choice and leaves the stored setting alone
"Device" "Mobile" (390 by 780), "Tablet" (820 by 1080), "Desktop" (1280 by 800, the default) Draws the example website at that size, scaled down to fit the dialog

What each location shows

"Germany" always shows the consent banner, and the other 3 locations show it under "Strict" or where your company location calls for one. The line under the bar gives the answer for your company location and your vendors, so read it instead of working the rule out.

Location With "Strict" With "Standard"
"Germany" The consent banner The consent banner
"USA" The consent banner No consent banner, and the floating "Your Privacy Choices" button when you keep it on
"Canada" The consent banner No consent banner, unless your company is in Quebec
"Brazil" The consent banner No consent banner

A company in the EU, the EEA, the UK, or Switzerland gets the consent banner at every location. So does a consent banner with a vendor that processes sensitive data. An empty example website under "Standard" is therefore an expected result, because those visitors load your vendors at once and opt out later. Read the rules behind the table in Location-Based Behavior.

What the preview shows accurately

The preview renders the consent banner and the Preferences Center from the Appearance form as it stands, before you save. Use it to compare choices, and trust it for the parts in this list.

  • The consent banner type, the "Banner position", the "Privacy Preferences Center layout", the "Corners", and the font.
  • The color theme, including the 4 colors of a "Custom" theme.
  • The Cookies Policy and Privacy Policy links, and the hidden "Reject all" and "Close" buttons.
  • The floating buttons, 28px above the bottom edge in the preview and 16px on your site for "Card", "Bar", and "Panel".
  • Your active vendors, listed in the consent banner text and the Preferences Center, with the sensitive data parts where a vendor processes sensitive data. Each vendor shows its saved cookies and storage entries and its domains, and the entries of your website follow TermsFeed Privacy Consent in the Essential vendor category.
  • The "Powered by TermsFeed" line under the buttons, when your consent banner shows it.
  • The rules in "Custom CSS", which your live pages apply too. Write them with Custom CSS.

What the preview does not show

The preview leaves out what depends on your website and on the browser of a real visitor, so a preview that looks right still needs a check on your site. Each of these items comes from running on an example website with no real visitor.

  • Your vendor code. The vendors appear by name, and none of their tags run in the app.
  • Your site. Your stylesheet, your fixed header, and your chat widget are missing from the example website.
  • A visitor language. The preview always uses "Default language", while a real visitor gets the language of your page or browser where Privacy Consent offers it.
  • A privacy signal. The Global Privacy Control (GPC) notice never appears, because the preview does not send a GPC signal.
  • A saved answer. An answer stays in memory only, so each reload starts as a first visit, and no event reaches your consent log.

How to preview and publish a change

Previewing and publishing a change takes 8 steps and about 10 minutes. You need access to the consent banner in the TermsFeed app and the snippet on your website.

  1. Open your consent banner in the TermsFeed app and click "Appearance" in the sidebar.
  2. Change a setting, such as "Choose a color theme", then click "Preview".
  3. Click each choice under "Simulate visitor location", and read the line under the bar.
  4. Click "Mobile" under "Device", and confirm that I Agree and I Decline both show without scrolling.
  5. Click the "Privacy Preferences" link in the consent banner to check the Preferences Center, then close it.
  6. Close the preview with its "Close" button or Escape, then click "Save Appearance" and wait for "Appearance saved".
  7. Confirm the change on your live site. Open a page in a new private window with Chrome DevTools open, select the Network tab, and filter for settings.json. Select the request whose path contains /plugins-api-w/ and confirm that its response carries your new value, such as "color_palette".
  8. Test the phone layout. In DevTools, turn on the device toolbar, pick a phone at 390px wide, and reload. Then repeat on a real phone, and confirm that nothing of yours covers the buttons.

A visitor whose browser loaded the settings in the last hour sees the change within 1 hour, and every other visitor sees it on the next page load. Test from a real location outside your own with Test From Another Country.

Why the phone layout needs a test on your site

The "Mobile" frame shows the layout Privacy Consent draws at 390px wide, and only your site shows what that layout sits on. On a screen up to 640px wide, "Card", "Bar", and "Panel" become a sheet across the bottom of the screen, up to 85% of its height. A fixed footer or a chat widget of your own competes with that sheet for the same space.

Check that both buttons show without scrolling, that the floating buttons do not sit on a chat widget, and that your navigation works again after the visitor answers. Fix a covered area with Covers Content on Mobile.