# 使用 Zapier 添加自动化指标收集

**URL:** <https://meta.discourse.org/t/add-automated-metrics-collection-with-zapier/52519>\
**Category:** Administrators\
**Tags:** how-to, tasks, zapier\
**Created:** [2016 年11 月 4 日 20:04 UTC](https://meta.discourse.org/t/add-automated-metrics-collection-with-zapier/52519 "2016-11-04T20:04:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
发布日期： [2017 年6 月 23 日 13:35 UTC](https://meta.discourse.org/t/add-automated-metrics-collection-with-zapier/52519/4 "2017-06-23T13:35:57Z")

</div>

> [@slagle](#):
>
> fetch(‘https://YOUR\_ROOT\_SITE\_HERE/admin/reports/visits.json?api\_key=YOUR\_API\_KEY\_HERE’)

How do I achieve this with discourse behind a reverse proxy (outer NGINX)? It seems like this fetch request is not making it through to the docker container:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/e/0eecde6479e974ae3b466543ad517df277af3868.png)

Or am I wrong in assuming that this has so far been tested only with the basic setup, i.e. without a reverse proxy in front of the discourse container?

---

_[View the full topic](https://meta.discourse.org/t/add-automated-metrics-collection-with-zapier/52519)._
