Skip to content
OpenCart · User manual

Google Consent V2

Version 1.0.1 Product page
Chapter 6

Settings

Every field of the settings form, in the order it appears on screen, with what it does and its default value.

Stores, languages and saving

  • Stores. If your OpenCart has more than one store, every setting is saved per store. Choose the store at the top of the form before you change anything, and configure each store you use.
  • Languages. The texts of the popup have one field per store language, marked with the flag of the language. Fill them in for every language your shop offers.
  • Saving. Press the Apply changes button, the blue check mark at the top right of the page. The button with the arrow takes you back without saving.

The form is divided into five groups: Google Consent V2 Configuration, Consent popup texts, Consent popup aspect, Floating configuration button general settings and Custom code.

Google Consent V2 Configuration

SettingWhat it does
StatusShows or hides the popup in the shop. Off by default. Under it, Quick Tutorial opens the setup steps for Google Tag Manager and the link to download the workspace. See Google Tag Manager setup.
Acceptance with page changeWhen it is on, a visitor who ignores the popup and goes to another page is treated as accepting all cookies. Off by default.
Acceptance with scrollWhen it is on, a visitor who ignores the popup and scrolls down the page is treated as accepting all cookies. Off by default.
Consent popup positionWhere the popup appears: Middle, Top left, Top right, Bottom left or Bottom right.
Lock screenWhen it is on, the page is covered by a semi-transparent dark layer until the visitor answers the popup, so the shop cannot be used before choosing. Off by default.

Consent popup texts

All the texts except Link "more information" page have one field per language. The defaults are in English.

SettingWhat it doesDefault
TitleThe heading of the popup.This site uses cookies.
DescriptionThe main text of the popup, with an editor for bold, links and paragraphs.A short explanation of essential and non-essential cookies.
Link "more information" titleThe text of the link to your privacy or cookie policy.More information
Link "more information" pageThe information page the link opens, chosen from Catalog > Information. The popup does not appear on that page itself, so visitors can read it.None
"Accept all" button textThe text of the button that grants every category.Accept all
"Accept selection" button textThe text of the button that saves the categories ticked in the customise panel.Accept selection
"Customize" button textThe text of the button that opens the list of categories.Customize
"Refuse all" button textThe text of the button that refuses every category except Necessary.Refuse all
Necessary Checkbox labelThe name of the necessary category.Necessary
Necessary explanationThe explanation under that category.A sentence about security storage.
Preferences Checkbox labelThe name of the preferences category.Preferences
Preferences explanationThe explanation under that category.A sentence about functionality storage.
Statistics Checkbox labelThe name of the statistics category.Statistics
Statistics explanationThe explanation under that category.A sentence about analytics storage.
Marketing Checkbox labelThe name of the marketing category.Marketing
Marketing explanationThe explanation under that category.A sentence about advertising storage.

When you install the extension in a shop with several languages, write the texts of every language. Which consent types each category controls is explained in How consent works.

Consent popup aspect

Every colour is chosen with a colour picker and saved as a hexadecimal code.

SettingWhat it coloursDefault
Main theme colorThe top border of the popup, the link, the Accept all button and other accents.229ac8
Consent popup backgroundThe background of the popup.ffffff
Consent popup textThe text of the popup.0a010a
Button "Accept all" textThe text of the Accept all button. Its background is the main theme colour.ffffff
Button "Accept selection" backgroundThe background of the Accept selection button.63b0cc
Button "Accept selection" textThe text of the Accept selection button.000000
Button "Customize" backgroundThe background of the Customize button.daebf3
Button "Customize" textThe text of the Customize button.000000
Button "Refuse all" backgroundThe background of the Refuse all button.ddd
Button "Refuse all" textThe text of the Refuse all button.000000
Checkbox color of "Necessary" categoryThe switch of the Necessary category.229ac8
Checkbox color of "Preferences" categoryThe switch of the Preferences category.229ac8
Checkbox color of "Statistics" categoryThe switch of the Statistics category.229ac8
Checkbox color of "Marketing" categoryThe switch of the Marketing category.229ac8

Floating configuration button general settings

The floating button is a cookie icon on a corner of the page, in the main theme colour, that appears after the visitor has answered the popup. Clicking it opens the popup again, so the visitor can change their choice.

SettingWhat it doesDefault
PositionThe corner of the page where the button appears: Top left, Top right, Bottom left or Bottom right. No button hides it.No button
Configure cookies button titleThe text shown when the mouse is over the button. One field per language.Cookies configuration
Icon "cookie" colorThe colour of the cookie icon. The corner behind it uses the Main theme color.ffffff

Custom code

SettingWhat it does
Custom codeCode added to the head of every page of the shop, right after the popup's own code, while Status is on. Use it for CSS changes or small scripts. Write CSS inside <style> and </style> tags, and JavaScript inside <script> and </script> tags.

For example, to make the popup title larger:

<style>
.gmtgc_consent_popup .gmtgc_title { font-size: 20px; }
</style>

Still need help?

Open a support ticket from your account and our team will look at your store with you.