Login Metrics Widget ==================== The Login Metrics widget displays a bar chart showing number of unique logins for web, mobile, and total over the past 60 days. (The default of 60 days can be changed on line 3 of the Python script.) By unique logins, we mean that any particular user is only counted once in each category. For example, if a certain user had 14 web logins and 8 mobile logins in the past 60 days, that user would be counted only once in each of the categories (web, mobile, and total). .. Note:: The required data for mobile logins is only available for the custom mobile app and not for the free mobile app. So if your church has people using the free app, this widget will not show accurate results for mobile logins. The widget utilizes an HTML file and a Python script as shown below. (No SQL script is needed.) Since the information in this widget is the same for all users, Caching should be set to **all users**. HTML Code --------- Below is the HTML code for the Login Metrics widget. As supplied by TouchPoint, the file name is **WidgetLoginMetricsHTML**. .. literalinclude:: Files/WidgetLoginMetrics.html :linenos: Python Script ------------- Below is the Python script for the Login Metrics widget. As supplied by TouchPoint, the file name is **WidgetLoginMetricsPython**. .. literalinclude:: Files/WidgetLoginMetrics.py :linenos: | | +--------------------+------------------+ | **Latest Update** | **04/30/2020** | +--------------------+------------------+ Added this article.