@posthog/url-normalizer-plugin
v0.0.7
Published
A PostHog plugin to normalize the format of urls in your application allowing you to more easily compare them in insights.
Downloads
12
Maintainers
Keywords
Readme
posthog-url-normalizer-plugin
A PostHog plugin to normalize the format of urls in your application allowing you to more easily compare them in insights.
Normalize the format of urls in your application allowing you to more easily compare them in insights. By default, this converts all urls to lowercase and strips extra trailing slashes, overrighting the old current_url
value.
Support PostHog and give it a try today. It's the best analytics platform for startups I've found. You won't regret it!
Developing Locally
To develop this plugin locally, you'll need to clone it and then run specs. Please make sure you've got Node and Yarn installed. Pull requests welcome!
git clone https://github.com/MarkBennett/posthog-url-normalizer-plugin.git yarn install yarn test --watch
From there, edit away and enjoy!
Installation
- Open PostHog.
- Go to the Plugins page from the sidebar.
- Head to the Advanced tab.
- "Install from GitHub, GitLab or npm" using this repository's URL.
Roadmap
This plugin is currently feature complete, but please consider starting a discussion or leaving an issue if there are features you'd like to see added.
Contributing
Contributions of code, issues, reviews and documentation are welcome!
Acknoledgements
Thanks to @Twixes and @marcushyett-ph for their help getting this plugin up and running, along with the awesome @posthog community!