Remove cross origin part of js script

Created on 15 April 2024, 2 months ago
Updated 31 May 2024, 28 days 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.69.0 2024