Troubleshooting
The most common problems with Google Consent V2 and how to solve them.
The popup does not appear
- Check that Status is on for the store you are visiting, and that you saved with Apply changes. In a multi-store installation, each store has its own status.
- Open the shop in a private browser window. If you already answered the popup in your normal browser, it does not appear again until you delete the cookie
acceptedGoogleConsent. - The popup does not appear on the page chosen in Link "more information" page. Test on another page.
- On OpenCart 2.x and 3.x, go to Extensions > Modifications, press refresh and check that Google Consent V2 is in the list. On OpenCart 3.x, also refresh the theme cache from the gear button of the Dashboard.
- On OpenCart 1.5.x to 2.2.x, check that vQmod works and that
vqmod/xml/devmanextensions_google_consent_v2_oc15x.xmlis in your store. - With version 1.0.0, the popup never appeared on OpenCart 2.3.x, and on OpenCart 1.5.x to 2.1.x the shop stopped with the error
Call to a member function getGenericJsVariables() on nullas soon as Status was on. Install version 1.0.1 or later. - If your theme does not use the standard
common/headertemplate, the code cannot be added. Open a support ticket with the name of your theme. - If you use a cache or page optimisation extension, clear its cache after saving.
The popup appears but tags ignore the choice
- Open the browser console (F12). If you see Google Consent V2 error: Google tag manager tag not found., Google Tag Manager is not installed in your shop. Install the Google Tag Manager container in the head of your shop.
- Check that the workspace is imported and the container version is published. See Google Tag Manager setup.
- Check that your Google tags use the trigger Consent settings applied instead of All Pages.
- Use the preview mode of Google Tag Manager: after an answer in the popup, the event
googleConsentUpdatemust appear and the tag Cookies consent mode - Accepted cookies must fire.
Tags fire before the visitor answers
A tag that still uses All Pages or another page trigger fires on page load, before any answer. Change its trigger to Consent settings applied. Google's consent mode still applies the default denied state from Cookies consent mode - Default settings, but the tag runs.
The texts are wrong in one language
Every text of the popup has one field per language. Open the settings, find the flag of that language next to each text field and fill it in. In a multi-store installation, check the texts of each store.
The popup covers part of my theme or looks different
- Change Consent popup position and the colours under Consent popup aspect.
- For other changes, add CSS in Custom code, inside
<style>tags. See Settings.
The settings page does not open
The settings form is loaded from devmanextensions.com. If you see CURL ERROR NUMBER, ask your hosting provider to allow outgoing cURL connections over HTTPS. If the licence is refused, check the ID in your account. See Licence activation.
Still need help?
Open a support ticket from your account and our team will look at your store with you.