Parameters from URL don't collect | Community
Skip to main content
carolinen819346
May 31, 2021
Solved

Parameters from URL don't collect

  • May 31, 2021
  • 1 reply
  • 781 views

Hello everyone,

 

I have one problem. When I do a couple a test , I have the parameters in this URL :

https://m.[...].com/vacances/vacances-et-sejours/voyage-tout-inclus-tunisie/theme,7/pays,219/ville,/#countryId=219&themespace=vacances-et-sejours&themes=7&destinationZones=1849&departureCityId=555&departureDate=31/05/2021&flexi=3&durationRangeMin=6&durationRangeMax=11&pageNumber=1

 

But when I user, Omnibug or Debug Tools, I have this result  in current URL :

https://m.[...].com/vacances/vacances-et-sejours/voyage-tout-inclus-tunisie/theme,7/pays,219/ville,/#destinationZones=1849&departureCityId=555&departureDate=31/05/2021&flexi=3&durationRangeMin=6&durationRangeMax=11&themespace=vacances-et-sejours&t

 

Does anyone why i can't collect countryId parameters? And where can I find the cause ?

 

thanks you

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by yuhuisg

Strictly speaking, your "parameters" are not actual URL parameters, but are part of the hash fragment.

In the URL specification, parameters are those that are after the "?" character. In your case, it looks like your website has been designed to use parameters that are after the "#" (hash) character. This is a non-standard implementation, so third-party tools that assume the actual URL specification may interpret your website's URLs "wrongly".

It could also be that your website actually has a script that updates the URL shown in the browser after it has performed some operation in the page, so third-party tools might pick up the original URL before that update was done.

The bottomline is that this is most likely due to the way your website has been built, rather than a problem with the third-party (and analytics) tools.

1 reply

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
June 1, 2021

Strictly speaking, your "parameters" are not actual URL parameters, but are part of the hash fragment.

In the URL specification, parameters are those that are after the "?" character. In your case, it looks like your website has been designed to use parameters that are after the "#" (hash) character. This is a non-standard implementation, so third-party tools that assume the actual URL specification may interpret your website's URLs "wrongly".

It could also be that your website actually has a script that updates the URL shown in the browser after it has performed some operation in the page, so third-party tools might pick up the original URL before that update was done.

The bottomline is that this is most likely due to the way your website has been built, rather than a problem with the third-party (and analytics) tools.