Problem with cors and Google tag manager

Created on 24 September 2020, about 4 years ago
Updated 25 August 2023, about 1 year ago

Problem/Motivation

I configured cookie bot and GTM. But in the Chrome console I got an error:

Access to the script at 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXX' from origin 'https://deal.alefinvest.ml' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I have created services.yml in sites/default falder from default.services.yml and enabled cors.config to be true, cleared the caches but error still in console of browser.

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡¦Ukraine alex.mazaltov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024