<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS Online-how to count real “downloads” of a hosted feature service? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-how-to-count-real-downloads-of-a/m-p/1644661#M66050</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/884206"&gt;@_Ali&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS Online does not currently offer a dedicated, supported metric for dataset downloads across all flows. The Usage tab and Activity Reports focus on general access and views, not file-based exports or replicas.&lt;/P&gt;&lt;P&gt;Some gotchas to be aware off&lt;/P&gt;&lt;P&gt;Map Viewer &amp;amp; Dashboards often use query requests with f=json , which are not downloads.&lt;BR /&gt;• Client-side exports (e.g., CSV from a table widget) may not trigger server-side export events.&lt;BR /&gt;• Feature Layer Views complicate attribution—events may log the view’s URL, not the parent item.&lt;BR /&gt;To mitigate this:&lt;BR /&gt;• Maintain a lookup table of service URLs → item IDs.&lt;BR /&gt;• Use relatedItems() to trace views back to their source layers.&lt;/P&gt;&lt;P&gt;Data Retention I think is 90days of logs I think (open to correction on this)&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Hub you can use the Hub API to query download events. Monitor /api/downloads and /download paths in Portal History, adding a 3rd party like Google Analytics might help more with more details&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/hub/content/data-download-settings.htm" target="_blank"&gt;Data download settings—ArcGIS Hub | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are some great questions you have an perhaps they could be fed back through the ideas for considerations in the future for the software.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope the above helps in some way.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Aug 2025 13:32:11 GMT</pubDate>
    <dc:creator>DanielFox1</dc:creator>
    <dc:date>2025-08-22T13:32:11Z</dc:date>
    <item>
      <title>ArcGIS Online-how to count real “downloads” of a hosted feature service?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-how-to-count-real-downloads-of-a/m-p/1644639#M66049</link>
      <description>&lt;P&gt;Hi everyone, I am wondering if you are able to help me with the below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;What I’m trying to achieve&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need a reliable way to count how many times our hosted feature service datasets have been downloaded by clients. By “download” I mean actions such as:&lt;/P&gt;&lt;P&gt;Using the Item details → Export Data options (Shapefile/FGDB/CSV/GeoJSON, etc.)&lt;/P&gt;&lt;P&gt;Creating replicas via FeatureServer /createReplica (offline/FGDB pulls)&lt;/P&gt;&lt;P&gt;Open Data / Hub dataset downloads&lt;/P&gt;&lt;P&gt;Direct FeatureServer /query calls that return a file (e.g., f=csv, f=geojson, f=xlsx, etc.)&lt;/P&gt;&lt;P&gt;Ultimately I’d like per-item totals over a date range (and, ideally, a breakdown by day and/or actor).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;What I’ve tried so far&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Item → Usage tab&lt;BR /&gt;This seems to report requests, not true downloads, so it doesn’t meet the requirement.&lt;/P&gt;&lt;P&gt;Org activity (Portal History) via ArcGIS API for Python&lt;BR /&gt;I’m pulling …/portals/{portalId}/history and filtering events where the request/path indicates:&lt;/P&gt;&lt;P&gt;/content/items/{id}/export (exports)&lt;/P&gt;&lt;P&gt;FeatureServer/createReplica (replicas)&lt;/P&gt;&lt;P&gt;I also experimented with heuristics to catch other flows:&lt;/P&gt;&lt;P&gt;Open Data / Hub URLs containing /download or /api/downloads&lt;/P&gt;&lt;P&gt;FeatureServer /query requests where f is csv|geojson|kml|xlsx|xls&lt;/P&gt;&lt;P&gt;/content/items/{id}/data?...download=1&lt;/P&gt;&lt;P&gt;However, I’m still not confident I’m catching all download routes consistently, and some events don’t include the itemId—only the service URL—so attribution back to the item can be fuzzy.&lt;/P&gt;&lt;P&gt;Organisation reports&lt;BR /&gt;The standard Activity/Usage reports I can access don’t appear to expose a dedicated “download count” metric per item.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Is there an official / supported way in ArcGIS Online to count dataset downloads for a hosted feature service (not just request counts)?&lt;/P&gt;&lt;P&gt;In Portal History, are there specific event types/fields Esri recommends keying off that reliably correspond to a download across all common flows (Export Data, createReplica, Hub download, /data with download=1, /query with file formats)?&lt;/P&gt;&lt;P&gt;Any pitfalls or gotchas (e.g., Map Viewer or Dashboards “download” features that actually use client-side queries and won’t show up as exports/replicas)?&lt;/P&gt;&lt;P&gt;What are the retention limits for the activity history relevant to this (so we understand how far back we can report)?&lt;/P&gt;&lt;P&gt;If an event only logs the service URL (no itemId), what’s the best practice to attribute it back to the correct item (especially for views vs parent services)?&lt;/P&gt;&lt;P&gt;If we’re using ArcGIS Hub, is there a built-in, trustworthy content download metric we should be using instead for datasets exposed via Hub/Open Data?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Online (hosted)&lt;/P&gt;&lt;P&gt;I’m an org admin (have access to org activity)&lt;/P&gt;&lt;P&gt;ArcGIS API for Python 2.x on Windows&lt;/P&gt;&lt;P&gt;Items: hosted Feature Service / Feature Layer (hosted) and Feature Layer View&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 12:50:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-how-to-count-real-downloads-of-a/m-p/1644639#M66049</guid>
      <dc:creator>_Ali</dc:creator>
      <dc:date>2025-08-22T12:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online-how to count real “downloads” of a hosted feature service?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-how-to-count-real-downloads-of-a/m-p/1644661#M66050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/884206"&gt;@_Ali&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS Online does not currently offer a dedicated, supported metric for dataset downloads across all flows. The Usage tab and Activity Reports focus on general access and views, not file-based exports or replicas.&lt;/P&gt;&lt;P&gt;Some gotchas to be aware off&lt;/P&gt;&lt;P&gt;Map Viewer &amp;amp; Dashboards often use query requests with f=json , which are not downloads.&lt;BR /&gt;• Client-side exports (e.g., CSV from a table widget) may not trigger server-side export events.&lt;BR /&gt;• Feature Layer Views complicate attribution—events may log the view’s URL, not the parent item.&lt;BR /&gt;To mitigate this:&lt;BR /&gt;• Maintain a lookup table of service URLs → item IDs.&lt;BR /&gt;• Use relatedItems() to trace views back to their source layers.&lt;/P&gt;&lt;P&gt;Data Retention I think is 90days of logs I think (open to correction on this)&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Hub you can use the Hub API to query download events. Monitor /api/downloads and /download paths in Portal History, adding a 3rd party like Google Analytics might help more with more details&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/hub/content/data-download-settings.htm" target="_blank"&gt;Data download settings—ArcGIS Hub | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are some great questions you have an perhaps they could be fed back through the ideas for considerations in the future for the software.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope the above helps in some way.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 13:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-how-to-count-real-downloads-of-a/m-p/1644661#M66050</guid>
      <dc:creator>DanielFox1</dc:creator>
      <dc:date>2025-08-22T13:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online-how to count real “downloads” of a hosted feature service?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-how-to-count-real-downloads-of-a/m-p/1644694#M66053</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/612907"&gt;@DanielFox1&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 15:24:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-how-to-count-real-downloads-of-a/m-p/1644694#M66053</guid>
      <dc:creator>_Ali</dc:creator>
      <dc:date>2025-08-22T15:24:28Z</dc:date>
    </item>
  </channel>
</rss>

