# Links from facebook to a page with a search

**URL:** <https://forum.litium.com/t/links-from-facebook-to-a-page-with-a-search/1292>\
**Category:** Questions\
**Tags:** accelerator\
**Created:** [January 23, 2020, 11:57am UTC](https://forum.litium.com/t/links-from-facebook-to-a-page-with-a-search/1292 "2020-01-23T11:57:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![victaxel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/victaxel/32/159_2.png) [@victaxel](https://forum.litium.com/u/victaxel)\
**Post date:** [January 23, 2020, 11:57am UTC](https://forum.litium.com/t/links-from-facebook-to-a-page-with-a-search/1292/1 "2020-01-23T11:57:07Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [January 23, 2020, 12:03pm UTC](https://forum.litium.com/t/links-from-facebook-to-a-page-with-a-search/1292/2 "2020-01-23T12:03:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![victaxel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/victaxel/32/159_2.png) [@victaxel](https://forum.litium.com/u/victaxel)\
**Post date:** [January 23, 2020, 12:04pm UTC](https://forum.litium.com/t/links-from-facebook-to-a-page-with-a-search/1292/3 "2020-01-23T12:04:26Z")

</div>

> [@NilsN](#):
>
> d 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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [February 20, 2020, 12:04pm UTC](https://forum.litium.com/t/links-from-facebook-to-a-page-with-a-search/1292/4 "2020-02-20T12:04:30Z")

</div>

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