URL Normalizer

Last updated:

What does the URL Normalizer app do?

This app 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.

What are the requirements for this app?

The URL Normalizer app requires either PostHog Cloud, or a self-hosted PostHog instance running version 1.30.0 or later.

Not running 1.30.0? Find out how to update your self-hosted PostHog deployment!

How do I install the URL Normalizer?

  1. Visit the 'Apps' page in your instance of PostHog.
  2. Search for 'URL Normalizer' and select the app, press Install.

How do I configure the URL Normalizer?

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.

Is the source code for this app available?

PostHog is open-source and so are all apps on the platform. The source code for the URL Normalizer is available on GitHub.

Who created this app?

We'd like to thank PostHog user and community member Mark Bennett for creating this app

Who maintains this app?

This app is maintained by the PostHog Community. If you have issues with the app not functioning as intended, please raise a bug report.

What if I have feedback on this app?

We love feature requests and feedback! Please create an issue to tell us what you think.

What if my question isn't answered above?

We love answering questions. Ask us anything via our Support page.

You can also join the PostHog Community Slack group to collaborate with others and get advice on developing your own PostHog apps.


Was this page useful?

Next article

User Agent Populator

This app enhances incoming events by including browser & OS details from the $useragent property. Note: This app is generally only needed when using clients that don't already set these properties, or when sending events directly from the server. This app extracts the following properties from the provided $useragent : Property Description Example $browser Name of the browser for the user Chrome, Firefox $browser_version The version of the browser that was used 70, 79 $os The operating…

Read next article