Metadata-Version: 1.1
Name: Flask-Matomo
Version: 1.2.0
Summary: Track requests to your Flask website with Matomo 
Home-page: https://github.com/Lanseuo/flask-matomo
Author: Lucas Hild
Author-email: contact@lucas-hild.de
License: MIT
Description-Content-Type: UNKNOWN
Description: Flask-Matomo
        ============
        
        |image0| |PyPI| |Docs|
        
        Flask-Matomo is a library which lets you track the requests of your
        Flask website using Matomo (Piwik).
        
        Installation
        ------------
        
        ::
        
            pip install flask-matomo
        
        Usage
        -----
        
        .. code:: python
        
            from flask import Flask, render_template
            from flask_matomo import *
        
            app = Flask(__name__)
            matomo = Matomo(app, matomo_url="https://matomo.mydomain.com",
                            id_site=5, token_auth="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
        
            @app.route("/")
            def index():
              return render_template("index.html")
        
            if __name__ == "__main__":
              app.run()
        
        In the code above:
        
        1. The *Matomo* object is created by passing in the Flask application
           and arguments to configure Matomo.
        2. The *matomo\_url* parameter is the url to your Matomo installation.
        3. The *id\_site* parameter is the id of your site. This is used if you
           track several websites with on Matomo installation. It can be found
           if you open your Matomo dashboard, change to site you want to track
           and look for &idSite= in the url.
        4. The *token\_auth* parameter can be found in the area API in the
           settings of Matomo. It is required for tracking the ip address.
        
        Meta
        ----
        
        | Lucas Hild - `https://lucas-hild.de <https://lucas.hild.de>`__
        | This project is licensed under the MIT License - see the LICENSE file
          for details
        
        .. |image0| image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
        .. |PyPI| image:: https://img.shields.io/pypi/v/flask-matomo.svg?style=flat-square&colorB=dfb317
           :target: https://pypi.org/project/flask-matomo/
        .. |Docs| image:: https://img.shields.io/badge/docs-readthedocs-red.svg?style=flat-square
           :target: https://flask-matomo.readthedocs.io
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
