Coder Social home page Coder Social logo

spraakbanken / flask-matomo2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lucashild/flask-matomo

0.0 0.0 0.0 159 KB

Track requests to your Flask website with Matomo

Home Page: http://flask-matomo2.readthedocs.io/

License: MIT License

Python 88.03% Makefile 11.97%

flask-matomo2's People

Contributors

dependabot[bot] avatar kod-kristoff avatar lanseuo avatar lucashild avatar meganschanz avatar natecollins avatar tanikai avatar

Watchers

 avatar

flask-matomo2's Issues

Extend tracked variables

Add these to the tracking call:

  • apiv=1
  • send_image=0
  • lang=<LANG> if accept-lang is set
  • rand=<RANDOM NUMBER>

Tracking call failed (status_code=500)

Hi, i recently switched from original repo to this ( thankfully existent ) Fork of flask-matomo.
Since that i cant get it working again. The configuration is nearly equal to orig. repo but i always get a "tracking call failed" .. with nothing more than this line of error.

Background is: Flask > 2.3 didn't work together with orig. flask-matomo because of deprecated imports etc.
So it would be create if you can tell me what i can do to catch the problem that i always get a Tracking call failed (status_code=500).

My config:

from app_secrets import MATOMO_URL
from app_secrets import MATOMO_TOKEN
from flask_matomo2 import Matomo

app = Flask(__name__)
app.wsgi_app = ProxyFix(app.wsgi_app, x_prefix=1, x_for=1, x_host=1)

matomo = Matomo(app, matomo_url=MATOMO_URL,
                id_site=3, token_auth=MATOMO_TOKEN,
                ignored_patterns=["/static/*"])

The URL , the api keys etc are valid if i used it e.g with curl for testing.
Thanks in advanced!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.