Skip to content
OpenCart · User manual

Google Consent V2

Version 1.0.1 Product page
Chapter 1

Overview

What Google Consent V2 adds to your OpenCart store, what it needs and how this manual is organised.

What the extension does

Google Consent V2 shows a cookie consent popup in your shop and passes your visitors' choices to Google Tag Manager, so your Google tags (Google Analytics 4, Google Ads and others) respect Google Consent Mode V2.

  • The consent popup. Visitors choose between Accept all, Refuse all and Customize. With Customize they accept or refuse four categories one by one: Necessary, Preferences, Statistics and Marketing. You write every text, in every store language, and choose the position and colours of the popup.
  • The floating cookie button. After answering, visitors can reopen the popup at any time with a small cookie button in a corner of the page.
  • Google Tag Manager workspace. The extension includes a ready-made Google Tag Manager workspace. Once imported, it sets all consent types to denied by default and updates them with the visitor's choice.

Each store of a multi-store installation has its own settings.

What you need

RequirementDetails
OpenCart1.5.x, 2.x or 3.x. The download contains one package for 1.5.x to 2.2.x, one for 2.3.x and one for 3.x.
vQmodOn OpenCart 1.5.x to 2.2.x, for the file that adds the popup to your theme's header.
Google Tag ManagerA Google Tag Manager container already installed in your shop. The extension does not install Google Tag Manager; it works with the container you have.
LicenceA DevmanExtensions licence ID, entered once. See Licence activation.
Outgoing connectionThe settings screen loads its form from devmanextensions.com, so your server needs PHP cURL and outgoing HTTPS connections.

This manual documents version 1.0.1, the version in the download centre today.

How this manual is organised

ChapterWhat it covers
InstallationInstalling each package, updating and uninstalling.
Licence activationValidating your licence, domains and test sites.
Quick startThe shortest route to a working popup with Google Tag Manager.
Google Tag Manager setupImporting the workspace and connecting your tags to the visitor's consent.
SettingsEvery field of the settings form.
How consent worksWhat the visitor sees, which consent types each category controls and what is stored.
TroubleshootingThe most common problems and their fix.

Still need help?

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