Title: Cookiebot causing GTM js error
Last modified: December 21, 2022

---

# Cookiebot causing GTM js error

 *  Resolved [ColinD](https://wordpress.org/support/users/colind/)
 * (@colind)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/cookiebot-causing-gtm-js-error/)
 * We have an issue where enabling Cookiebot causes the following error in the conosle:
 * {url}/:1 Uncaught SyntaxError: Unexpected token ‘<‘
   at gtm.js?id=GTM-{propertyID}:
   491:414
 * Disabling the plugin causes the error to go away. We have tested if using the
   Cookiebot plugin’s GTM feature to add GTM to the page resolves the issue and 
   it does not. The issue persists whether we use the plugin to add GTM to the page
   or do it directly.
 * Any advice?
 * Thanks,
 * C-
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcookiebot-causing-gtm-js-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Frederik Nagels](https://wordpress.org/support/users/fnagels/)
 * (@fnagels)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/cookiebot-causing-gtm-js-error/#post-16312454)
 * Hi Colin,
 * We would love to investigate this and are in need of some more information. We
   would therefore love it if you could reach out to us via our support system:
 * [https://support.cookiebot.com/hc/en-us/requests/new](https://support.cookiebot.com/hc/en-us/requests/new)
 * We try to get back to you within 48 hours.
 * Best regards,
   FrederikCookiebot support

Viewing 1 replies (of 1 total)

The topic ‘Cookiebot causing GTM js error’ is closed to new replies.

 * ![](https://ps.w.org/cookiebot/assets/icon.svg?rev=3200631)
 * [Cookiebot by Usercentrics - Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode](https://wordpress.org/plugins/cookiebot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookiebot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookiebot/)
 * [Active Topics](https://wordpress.org/support/plugin/cookiebot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookiebot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookiebot/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frederik Nagels](https://wordpress.org/support/users/fnagels/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/cookiebot-causing-gtm-js-error/#post-16312454)
 * Status: resolved