# Track specific URL parameters

**URL:** https://forum.pirsch.io/t/track-specific-url-parameters/115
**Category:** Support
**Created:** [January 7, 2025, 3:37pm UTC](https://forum.pirsch.io/t/track-specific-url-parameters/115 "2025-01-07T15:37:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Rafael](https://forum.pirsch.io/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@Rafael](https://forum.pirsch.io/u/Rafael)
#### Post date: [January 7, 2025, 3:37pm UTC](https://forum.pirsch.io/t/track-specific-url-parameters/115/1 "2025-01-07T15:37:56Z")

</div>

Hi there,

I have a website where people can search travel information and I would like to track parameters that are in the URL path. At the moment, I can track the URLs individually but it’s a bit hard to display stats in a meaningful way. For example, the format is as follows `/search/:from/:to/:departureDate/:returnDate` which gives something like `/search/CH/HU/2025-01-20/2025-01-23`.

What I’m trying to achieve is create a dashboard that could show me how many people use a certain departure place (from), arrival place (to) or certain dates (departure or return). Even better would be for the codes to display proper names, like CH would be shown as Switzerland. But that’s not necessary. Already being able to compare popular departures, destinations and dates would be cool.

Is there a way to create a report by parsing URLs? Or would it be better to fire events with these parameters?

Thanks!

---

<div class="post-metadata">

### Author: ![Marvin](https://forum.pirsch.io/user_avatar/forum.pirsch.io/marvin/32/16_2.png) [@Marvin](https://forum.pirsch.io/u/Marvin)
#### Post date: [January 8, 2025, 10:43am UTC](https://forum.pirsch.io/t/track-specific-url-parameters/115/2 "2025-01-08T10:43:14Z")

</div>

Hi Rafael,

Welcome to the forums!

I think using a custom event with the parameters attached as meta data would be best. Alternatively, you could also use tags and attach them to the result page (if there is one).

> **[Pirsch Analytics Documentation](https://docs.pirsch.io/advanced/segmentation-tags)**
>
> Pirsch is a simple, privacy-friendly, and open-source web analytics solution.

Are you planning to use the API to pull the data? I think that would make it easy to compare the destinations, as filtering all of them on the dashboard would be time consuming.

Please let me know if you have any questions about that or need help with the implementation 🙂
