URL Normalizer

URL Normalizer

Normalize the format of urls in your application allowing you to more easily compare them in insights.

Using our REST API you can create this transformation like so:

Terminal
# Create a new destination
curl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \
--data '{
"type": "transformation",
"name": "URL Normalizer",
"inputs": {},
"enabled": true,
"template_id": "plugin-posthog-url-normalizer-plugin"
}'