You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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!
Beta Was this translation helpful? Give feedback.
All reactions