Skip to main content

Why do I have a “uncaught range: maximum call stack size exceeded” error while installing CookieYes?

The “Uncaught RangeError: Maximum call stack size exceeded” error occurs if the CookieYes Installation Script is added multiple times to your website. This usually happens due to the following reasons:

  • Using both the CookieYes WP plugin and the CookieYes CMP template in GTM simultaneously.
  • Adding the CookieYes script manually to the site while already using the GTM CookieYes template or the WP CookieYes plugin.

To resolve this error, ensure that the CookieYes script is added only once to your website.

To implement Google Consent Mode while using the CookieYes WordPress plugin, follow this documentation.

Alternatively, if you choose to implement GCM using the CookieYes GTM template as outlined in this guide, you may disconnect and deactivate the plugin.

Still, have questions or facing issues? Contact technical support

Have more questions?

Reach out to us and we'll answer them.

Contact us