This transformation normalizes the format of URLs so you can more easily compare them in insights.
By default, the URL Normalizer converts all URLs to lowercase and strips trailing /s, overriding the old current_url
property.
Requirements
Using this requires either PostHog Cloud with the data pipelines add-on, or a self-hosted PostHog instance running a recent version of the Docker image.
Installation
- In PostHog, click the "Data pipeline" tab in the left sidebar.
- Search for 'URL Normalizer' and select the transformation, press Install.
Configuration
No configuration is needed. The URL Normalizer will automatically convert all URLs to lowercase and remove any trailing slashes.
If you'd like to normalize URLs into a different format, please consider contributing a PR to the repo.
FAQ
Is the source code for this transformation available?
PostHog is open-source and so are all transformations on the platform. The source code for the URL Normalizer is available on GitHub.
Who created this transformation?
We'd like to thank PostHog user and community member Mark Bennett for creating this app
Who maintains this?
This is maintained by the community. If you have issues with it not functioning as intended, please let us know!
What if I have feedback on this destination?
We love feature requests and feedback. Please tell us what you think.
What if my question isn't answered above?
We love answering questions. Ask us anything via our community forum.