Open guybinya opened 4 days ago
Added support for server side container to GTM third parties script
Allows users to take advantage of the @third-parties library when using a gtm server side container for tracking.
Added a new prop to GTMParams called serverSideContainerUrl with a default url for the regular tag manager.
New usage will look like:
<GoogleTagManager gtmId={gtmId} serverSideContainerUrl={GOOGLE_TAG_MANAGER_URL}/>
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer
First PR for me, let me know if I need to add anything :)
What?
Added support for server side container to GTM third parties script
Why?
Allows users to take advantage of the @third-parties library when using a gtm server side container for tracking.
How?
Added a new prop to GTMParams called serverSideContainerUrl with a default url for the regular tag manager.
New usage will look like: