We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So according to the API docs for tracking events I'm doing the following in my Python backend (using Flask and Requests):
def track_event_to_piwik(category, action, name, value): return requests.post('https://%s/piwik.php' % PIWIK_HOSTNAME, data={ 'idsite': PIWIK_ID, 'req': 1, 'url': flask.request.url, 'rand': random.random(), 'apiv': 1, 'e_c': category, 'e_a': action, 'e_n': name, 'e_v': value, }).status_code
But I don't see anything in my dashboards.. only the events that are being tracked using JavaScript..
Is there anything that I'm doing wrong?! Yes I'm getting the 200 OK from the above request..
200 OK
The text was updated successfully, but these errors were encountered:
Can you try to rename req => rec ?
req
rec
Sorry, something went wrong.
There is always this one thing!! :D I'll close it for now until further investigation..
Sweet. Feel free to reopen in case it doesn't help
No branches or pull requests
So according to the API docs for tracking events I'm doing the following in my Python backend (using Flask and Requests):
But I don't see anything in my dashboards.. only the events that are being tracked using JavaScript..
Is there anything that I'm doing wrong?! Yes I'm getting the
200 OK
from the above request..The text was updated successfully, but these errors were encountered: