redux-beacon
redux-beacon copied to clipboard
Support custom dimensions in GA pageviews and events
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
- [x] I have added tests that prove my fix is effective or that my feature works.
- [x] I have added all necessary documentation (if appropriate)
What was done
These changes adds support for custom dimensions when tracking events and page views in Google Analytics. The API adopted here was directly taken directly from the discussion in #278.
Associated Issues
- Fixes #278
If you'd like to test these changes they are available in:
npm install @redux-beacon/google-analytics@next