spraakbanken / flask-matomo2 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from lucashild/flask-matomo
Track requests to your Flask website with Matomo
Home Page: http://flask-matomo2.readthedocs.io/
License: MIT License
This project forked from lucashild/flask-matomo
Track requests to your Flask website with Matomo
Home Page: http://flask-matomo2.readthedocs.io/
License: MIT License
Track page load time and track it with gt_ms
.
Make it possible to track dynamic data that happens during the request.
Add these to the tracking call:
apiv=1
send_image=0
lang=<LANG>
if accept-lang
is setrand=<RANDOM NUMBER>
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.