Links from facebook to a page with a search

Hi,

A client pointed out that when they link from facebook to a category page, the search on the category page returns 0 results. This seems to be because of the parameter facebook attaches to the url (fbclid=key).

And it seems the search cannot return results if there is an unknown query parameter, for example like on the litium demo page with this made up parameter:

https://demo-b2c.litium.com/women/tops/sportbras?dfsf=Sd

How would you recommend I remove the parameter while following some kind of best practise?

Litium 7

You can add the parameter to the SearchQueryMapper class, in the switch statement you can see how it handles for example gclid and utm_* tags.

Also, if you could report this as a bug on Docs it would be helpful, so we can update the standard Accelerator.

Thanks! Sure thing will add a report.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.