Skip to content

A PostHog plugin to normalize the format of urls in your application allowing you to more easily compare them in insights.

License

Notifications You must be signed in to change notification settings

MarkBennett/posthog-url-normalizer-plugin

Repository files navigation

posthog-url-normalizer-plugin

License: MIT

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

  1. Open PostHog.
  2. Go to the Plugins page from the sidebar.
  3. Head to the Advanced tab.
  4. "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!

About

A PostHog plugin to normalize the format of urls in your application allowing you to more easily compare them in insights.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published