Make script domain configurable

Created on 1 February 2023, almost 2 years ago
Updated 12 July 2023, over 1 year ago

Problem/Motivation

I've gotten requests from multiple clients that they want to fetch "https://www.googletagmanager.com/gtm.js" from a custom domain like
"analytics.[client-name].com/gtm.js". My guess it's to circumvent the third party cookie restrictions that are happening in lots of browsers.

Proposed resolution

Make the domain configurable with googletagmanager.com the default value.

As far as I can see the only places the domain is hard coded is in "src/Entity/Container.php" in two places.

Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇳🇴Norway andeersg

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

Comments & Activities

Production build 0.71.5 2024