Matomo Realtime Visitors Widget

Created by 404GamerNotFound

0


Download

Informations

Author: 404GamerNotFound

Downloads: 12

Stars: 0

Type: Home Screen Widget

Published on: 3 December 2023

Description

Matomo Analytics Widgets for Scriptable

Overview

This repository features a suite of Scriptable widgets, each uniquely crafted to display website analytics via Matomo. Tailored for iOS home screens, these widgets provide diverse insights and data visualization styles, ensuring a comprehensive view of website performance.

Scripts Description

Script 1: Detailed Analytics Widget

  • Displays current and previous 7-day visitor and page view counts.
  • Shows percentage changes in visitors and views.
  • Utilizes a visually engaging design with emojis for easy comprehension.
  • Customizable widget background and text colors.

Script 2: Weekly Summary Widget

  • Provides a quick summary of today's, yesterday's, this week's, and last week's visitor counts.
  • Focuses on simplicity and ease of understanding.
  • Ideal for a quick glance at recent visitor trends.

Script 3: Real-Time Visitor Insights Widget

  • Concentrates on displaying real-time visitor data from Matomo analytics in a dynamic and engaging format.
  • Presents up to eight most recent visitor interactions, including specific details such as visit time, country, number of actions, and more.
  • Offers a comprehensive snapshot of visitor behavior, including device type, operating system, browser type, and IP address.
  • Tailored for users who require immediate, up-to-date insights into website traffic and visitor interactions.
  • The widget's layout is optimized for readability and quick analysis, making it perfect for on-the-go assessments of site activity.

Features

  • Integration with Matomo Analytics for real-time data.
  • Customizable appearance and layout for different data presentation.
  • Easy setup and usage within the Scriptable app.

Requirements

  • An iOS device with the Scriptable app installed.
  • Access to a Matomo Analytics account and API token.
  • Basic knowledge of JavaScript for customization (optional).

Installation and Setup

  1. Copy the JavaScript code for your chosen widget.
  2. Open Scriptable and create a new script.
  3. Paste the copied code into the script.
  4. Replace MATOMO_URL, SITE_ID_FROM_MATOMO, and MATOMO_AUTH_TOKEN with your actual Matomo Analytics credentials.
  5. Run the script in Scriptable to test, then add the widget to your home screen.

Customization

  • You can modify the background color, text color, and other aspects of the widget by editing the corresponding lines in the script.

Contributing

Your contributions, issues, and feature requests are welcome. Please refer to the issues page for more details.

License

This project is distributed under the MIT License. See LICENSE for more information.

Acknowledgements

Preview Images

  • Detailed Analytics Widget:
  • Weekly Summary Widget: Detailed Analytics Widget
  • MatomoRealtimeWiget.js Matomo Realtime Wiget

Donation

PayPal Donation