# Hidden Locations

**URL:** <https://community.mappedin.com/t/hidden-locations/166>\
**Category:** Mappedin JS\
**Created:** [September 23, 2024, 4:13pm UTC](https://community.mappedin.com/t/hidden-locations/166 "2024-09-23T16:13:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnv](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@johnv](https://community.mappedin.com/u/johnv)\
**Post date:** [September 23, 2024, 4:13pm UTC](https://community.mappedin.com/t/hidden-locations/166/1 "2024-09-23T16:13:11Z")

</div>

Hello,

Is there a way to not have the hidden stores return on the web sdk? I had tried using the includeHidden? : boolean property but does not seem to work on my end. Here is how I am currently calling it:

````auto
const options = {
  venue: "venue",
  clientId: "ID",
  clientSecret: "Secret",
  includeHidden: false,
  things: { events: ["event"] }
};```

Thank you!

John
````

---

<div class="post-metadata">

**Author:** ![Zach](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/zach/32/70_2.png) [@Zach](https://community.mappedin.com/u/Zach)\
**Post date:** [September 24, 2024, 3:33pm UTC](https://community.mappedin.com/t/hidden-locations/166/2 "2024-09-24T15:33:40Z")

</div>

Hi John!

By default the data doesn’t include the `hidden` property. To have the V5 Web SDK respect `includeHidden: false` it needs to be added to the `things.locations`, like you’ve done with events:

```ts
const options = {
  venue: "venue",
  clientId: "ID",
  clientSecret: "Secret",
  includeHidden: false,
  things: { 
    events: ["event"],
    locations: ["hidden"],
  }
};

```

These adjusted options should remove hidden locations from the data.

Zach

---

<div class="post-metadata">

**Author:** ![johnv](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@johnv](https://community.mappedin.com/u/johnv)\
**Post date:** [September 25, 2024, 2:45pm UTC](https://community.mappedin.com/t/hidden-locations/166/3 "2024-09-25T14:45:35Z")

</div>

Hi Zach,

Thank you for this! It works.

Best,  
John
