# Add site with subfolder filter

**URL:** <https://community.piwik.pro/t/add-site-with-subfolder-filter/1069>\
**Category:** Account\
**Created:** [October 4, 2022, 7:16am UTC](https://community.piwik.pro/t/add-site-with-subfolder-filter/1069 "2022-10-04T07:16:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dataguy](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@Dataguy](https://community.piwik.pro/u/Dataguy)\
**Post date:** [October 4, 2022, 7:16am UTC](https://community.piwik.pro/t/add-site-with-subfolder-filter/1069/1 "2022-10-04T07:16:53Z")

</div>

Hi,

I want to add a new site to my account but filter the data collection to only collect tracked data under a specific subfolder. For example [https://www.example.com/subfolder1/](https://www.example.com/subfolder1/)

Is managing the trigger for the Piwik Pro Base Tag the best solution or is it any other way to do this that I have missed?

Thanks.

---

<div class="post-metadata">

**Author:** ![Tymek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/tymek/32/268_2.png) [@Tymek](https://community.piwik.pro/u/Tymek)\
**Post date:** [October 4, 2022, 7:52am UTC](https://community.piwik.pro/t/add-site-with-subfolder-filter/1069/2 "2022-10-04T07:52:41Z")

</div>

Hi @Dataguy, welcome to our community!

I think the easiest solution here would be to set the dedicated page/folder as a new (separate) Site or app in Piwik pro. This way you will get an individual tracking code to implement and the data will be reported on a separate site in Analytics (you’ll need to change the site in Analytics top-right corner).  
Later on, you may need to combine the data from [https://www.example.com/subfolder1/](https://www.example.com/subfolder1/) and [https://www.example.com](https://www.example.com), this is where our concept of Meta sites or apps comes in handy: [Use meta sites & apps to merge data | Piwik PRO help center](https://help.piwik.pro/support/reports/meta-sites/)

Please let me know if it helps.  
I strongly encourage you to explore our Help Center for any queries, there are a lot of articles that help: [https://help.piwik.pro](https://help.piwik.pro)  
Tymek

---

<div class="post-metadata">

**Author:** ![Dataguy](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@Dataguy](https://community.piwik.pro/u/Dataguy)\
**Post date:** [October 4, 2022, 8:05am UTC](https://community.piwik.pro/t/add-site-with-subfolder-filter/1069/3 "2022-10-04T08:05:06Z")

</div>

Hi @Tymek,

Thanks for the fast reply! I will go with the solution you wrote.

Appreciate it!
