You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is there a suggested way to implement data layer scripts for Google Tag Manager with OSF?

Received Response


We need to implement data layer scripts when the page loads and in certain parts of our site.

Content (required):

What is the best way to go about this using OSF? I have seen the react-gtm-module library as an option but I was wondering if there were any other recommended approaches that have already have been done?

Any documentation or suggestions are welcome.

Thank you!

Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

Example snippet:




Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!