<?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: Record user access of a web app in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205455#M22447</link>
    <description>&lt;P&gt;Hi, all our users are set up to use SAML linked to Azure Active Directory, so yes, they are authenticated that way.&amp;nbsp; I've then set up a specific group that only has the approved members that should access the app.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Aug 2022 16:16:11 GMT</pubDate>
    <dc:creator>BarryYoung</dc:creator>
    <dc:date>2022-08-23T16:16:11Z</dc:date>
    <item>
      <title>Record user access of a web app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205384#M22442</link>
      <description>&lt;P&gt;Hi, I've developed an app using Web AppBuilder which contains sensitive data and is only available to users within a specific group.&lt;/P&gt;&lt;P&gt;Is it possible to log when a user accesses the app?&amp;nbsp; The app is on our Enterprise site and users login using Windows AD (SAML).&amp;nbsp; &amp;nbsp;Ideally I'd want to have a record of the user and date/time of access.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Barry&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 14:15:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205384#M22442</guid>
      <dc:creator>BarryYoung</dc:creator>
      <dc:date>2022-08-23T14:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Record user access of a web app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205394#M22443</link>
      <description>&lt;P&gt;I would imagine this is possible at the web server level such as IIS but I have not done so. I have been relying on the ArcGIS logs to identify who utilizes specific services. ESRI has the systemLogParser tool that I leverage for that.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 14:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205394#M22443</guid>
      <dc:creator>BrianLeroux</dc:creator>
      <dc:date>2022-08-23T14:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Record user access of a web app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205443#M22445</link>
      <description>&lt;P&gt;I use Matomo, which is a free analytics system. Matomo is self-hosted, so you don't have to share your data with outsiders.&lt;/P&gt;&lt;P&gt;I have great plans to do more with the IIS log files but it is low priority for me so it seems to never go anywhere.&lt;/P&gt;&lt;P&gt;Matomo works with WAB because you can insert the tracking code into the main Javascript file. I have not been able to make it work with StoryMaps because it's too locked down.&lt;/P&gt;&lt;P&gt;We have 1 machine per user and it tracks IP addresses so in theory I can see each person accessing it. One of the reports looks like this for example,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrianWilson7_0-1661268661223.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49198i6121CAD185EF9C20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrianWilson7_0-1661268661223.png" alt="BrianWilson7_0-1661268661223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There is a "User ID" feature that I have not looked at yet. (Again not currently a priority here.) See &lt;A href="https://matomo.org/guide/reports/user-ids/" target="_blank"&gt;https://matomo.org/guide/reports/user-ids/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(Incidentally we stopped using WAB and only use the developers edition now. But it's the same -- insert a block of code into the Javascript and it reports back to the Matomo server.)&lt;/P&gt;&lt;P&gt;Matomo does maps too!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrianWilson7_1-1661269323031.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49200i998D8A7CB619C3A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrianWilson7_1-1661269323031.png" alt="BrianWilson7_1-1661269323031.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have no connection to this project other than being a fanboy apparently. Geez. I mean, it does maps!&lt;/P&gt;&lt;P&gt;I wish we had more traffic to track. Back in the olden days I would have loved this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 15:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205443#M22445</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-08-23T15:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Record user access of a web app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205448#M22446</link>
      <description>&lt;P&gt;Before I get to details, do you authenticate the user before they access your app?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 16:02:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205448#M22446</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2022-08-23T16:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Record user access of a web app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205455#M22447</link>
      <description>&lt;P&gt;Hi, all our users are set up to use SAML linked to Azure Active Directory, so yes, they are authenticated that way.&amp;nbsp; I've then set up a specific group that only has the approved members that should access the app.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 16:16:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205455#M22447</guid>
      <dc:creator>BarryYoung</dc:creator>
      <dc:date>2022-08-23T16:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Record user access of a web app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205456#M22448</link>
      <description>&lt;P&gt;We have both public and intranet apps, they have to sign in to access the intranet apps. The tracking we're using right now does not care if you are logged in or not. I should look at that User Id thing in Matomo, I wonder how that's implemented. We're using Active Directory for signins so whenever an employee uses an internal app for the first time an account is created for them in Portal. If the User Id feature works with the normal log in it would be great.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 16:17:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205456#M22448</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-08-23T16:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Record user access of a web app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205468#M22449</link>
      <description>&lt;P&gt;If you prompt for credentials to access the app though the portal I suggest to take look at the Smart Editor widget.js&lt;/P&gt;&lt;P&gt;I used its logic to something like this to capture the user's email. Since you are using and organization you should be able to figure out the identity of the user. A simple js can capture the time of the login. Hopefully this is what you are looking for.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var creatoremail = ""
                  var editoremail = ""
                 
                    var portal = new arcgisPortal.Portal('https://svgcdeaprod.ct.dot.ca.gov/deaprod_portal')
                    portal.signIn().then(function (loggedInUser) {
                      //   console.log("Signed in to the portal: " + loggedInUser)
                      //   console.log(loggedInUser.email);
                      creatoremail = loggedInUser.email&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 16:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1205468#M22449</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2022-08-23T16:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Record user access of a web app</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1207137#M22463</link>
      <description>&lt;P&gt;Thanks for this, definitely looks like a way forward&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 10:01:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/record-user-access-of-a-web-app/m-p/1207137#M22463</guid>
      <dc:creator>BarryYoung</dc:creator>
      <dc:date>2022-08-29T10:01:04Z</dc:date>
    </item>
  </channel>
</rss>

