Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The repo seems to be abandoned - here is a new one! #132

Open
daniel-bartylla opened this issue Mar 15, 2024 · 1 comment
Open

The repo seems to be abandoned - here is a new one! #132

daniel-bartylla opened this issue Mar 15, 2024 · 1 comment

Comments

@daniel-bartylla
Copy link

The last commit of the master branch was more than 3.5 years ago, relevant pull requests remain unmerged, offers to support maintenance remain unanswered and no one has heard from @alinemorelli anymore. We therefore tried to contact via email and LinkedIn, but without success.

All in all, it sounds to us like an abandoned repo, which creates certain problems for current and future users. As soon as someone wants to use CSP and load the GTM script from a custom domain, they can't get any further. Although there are forks for each of the two topics, we couldn't find one that further developed the package as a whole.

We would like to take care of the matter and have therefore created a new repo and published an NPM package.

What has changed?

  • support of Content Security Policy to mitigate risks associated with cross-site scripting (nonce arg)
  • ability to override the GTM script URL to take advantage of certain features of the GTM tagging servers (source arg)
  • fixed handling of events arg (breaking change!)
  • environment related query params are only set if an environment is used
  • added TypeScript definitions to the package itself
  • simplified documentation
  • improved test coverage to 100% (based on Jest)
  • updated dev dependencies and removed unnecessary ones
  • added formatting rules

Some of the topics already had pull requests, others didn't. We have a few more ideas for improvements, which we want to tackle later.

How to migrate?

We added a migration guide to the readme but it's for the majority of the users quite simple.
It's just about switching the packages via NPM.

npm uninstall react-gtm-module @types/react-gtm-module
npm install @sooro-io/react-gtm-module

And adjusting the imports in your code:

- import TagManager from 'react-gtm-module'
+ import TagManager from '@sooro-io/react-gtm-module'

Who exactly is “we”?

We are Sooro, a small company from Germany that helps other companies implement, improve and/or verify their tracking, with a focus on server-side tracking. In the course of our work, we have come across the outdated package several times, so we thought it would be good if someone finally took care of the repo/package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants