diff --git a/.changeset/crazy-birds-report.md b/.changeset/crazy-birds-report.md new file mode 100644 index 00000000..61eff273 --- /dev/null +++ b/.changeset/crazy-birds-report.md @@ -0,0 +1,5 @@ +--- +'@reuters-graphics/graphics-components': patch +--- + +Fix for GTM tags diff --git a/src/components/Analytics/Analytics.svelte b/src/components/Analytics/Analytics.svelte index 75afbe74..1a2cfcb5 100644 --- a/src/components/Analytics/Analytics.svelte +++ b/src/components/Analytics/Analytics.svelte @@ -1,10 +1,5 @@ - - - - {@html `<${'script'}>${GTM_SCRIPT}`} - - - - - - + diff --git a/src/components/Analytics/GTM.svelte b/src/components/Analytics/GTM.svelte new file mode 100644 index 00000000..a00fdcbe --- /dev/null +++ b/src/components/Analytics/GTM.svelte @@ -0,0 +1,30 @@ + + + + + + + + + + + + +