redux-beacon
redux-beacon copied to clipboard
IP anonymization with Google Analytics (gtag)
This is a...
- [ ] :beetle: Bug Report
- [x] :rocket: Feature Request
- [ ] :scroll: Documentation Request
Which version of Redux Beacon are you using?
- redux-beacon: 2.1.0
- @redux-beacon/google-analytics-gtag: 1.0.5
Which target(s) are you using?
- [ ] Google Analytics
- [x] Google Analytics (gtag)
- [ ] React Native Google Analytics
- [ ] Google Tag Manager
- [ ] React Native Google Tag Manager
- [ ] Amplitude
- [ ] Segment
- [ ] React Native Segment
- [ ] Other/Third Party: ...(please specify here)
:rocket: :scroll: What's missing from Redux Beacon that you'd like to add?
Hi, I would like to use the IP anonymization feature of gtag but I cannot find a way to pass the needed option to Google Analytics (gtag) target when tracking page views or events. If this is a use case you were willing to support I can make a PR if you can gave me some guidance. There's others options than IP anonymization that can be passed to gtag so this feature should probably covers more use cases than the IP anonymization one.
Can you help out?
- [ ] :star2: I am a legend and can get started on a pull request right away given the go-ahead.
- [x] :star: I am a superstar and would like to help out given some guidance.
- [ ] :disappointed: I won't be able to help out on this one.
I forked the lib and made the necessary changes to supports the feature. Is it ok to submit a PR?
Hi @thomaspaillot, sorry for the late reply. Yes! Feel free to make a pr with the changes. I'd be happy to add that feature in.