Remove cross origin part of js script

Created on 15 April 2024, 7 months ago
Updated 31 May 2024, 6 months ago

Problem/Motivation

I have found that when using a custom hostname you may run into cross origin issues and the j.crossOrigin="anonymous"; part of the script import seems to make it extremely difficult to get self hosted tag management work. There may be some security risks involved in removing this so this should be taken into consideration when the proposed patch is reviewed.

Steps to reproduce

Change the hostname to an external URL and then check the page console output for cross origin issues.

Proposed resolution

Remove this small section of the script code. A patch will follow this initial post.

Remaining tasks

Review and testing of the patch - especially security considerations.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇳🇱Netherlands roaldnel

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

Comments & Activities

Production build 0.71.5 2024