Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pbek/qt-piwik-tracker
C++ Qt Tracker Library for Piwik / Matomo Analytics
https://github.com/pbek/qt-piwik-tracker
cpp library matomo piwik qt qt5
Last synced: about 1 month ago
JSON representation
C++ Qt Tracker Library for Piwik / Matomo Analytics
- Host: GitHub
- URL: https://github.com/pbek/qt-piwik-tracker
- Owner: pbek
- License: mit
- Created: 2016-02-22T17:02:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-21T18:04:29.000Z (11 months ago)
- Last Synced: 2024-05-01T14:43:26.689Z (7 months ago)
- Topics: cpp, library, matomo, piwik, qt, qt5
- Language: C++
- Homepage:
- Size: 66.4 KB
- Stars: 19
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Qt C++ Piwik / Matomo Tracker Library](https://github.com/pbek/qt-piwik-tracker)
[![Build Status Linux/OS X](https://travis-ci.org/pbek/qt-piwik-tracker.svg?branch=master)](https://travis-ci.org/pbek/qt-piwik-tracker)
[![Build Status Windows](https://ci.appveyor.com/api/projects/status/github/pbek/qt-piwik-tracker)](https://ci.appveyor.com/project/pbek/qt-piwik-tracker)
[![Coverage Status](https://coveralls.io/repos/github/pbek/qt-piwik-tracker/badge.svg?branch=master)](https://coveralls.io/github/pbek/qt-piwik-tracker?branch=master)PiwikTracker is a C++ Qt 5 library for tracking with the open-source analytics
platform [Piwik, now Matomo](https://matomo.org/).## Features
- sending visits
- sending events
- sending pings
- custom dimensions can be sent along with the requests
- language, screen resolution and operating system will be tracked automatically
- client id will be generated and stored automatically## How to use this library
- checkout the git repository
- include [piwiktracker.pri](https://github.com/pbek/qt-piwik-tracker/blob/master/piwiktracker.pri)
to your project like this: `include (qt-piwik-tracker/piwiktracker.pri)`
- include `piwiktracker.h` in your `.cpp` file
- use the library to talk to your Piwik / Matomo server```cpp
// the 3rd parameter is the site id
PiwikTracker *piwikTracker = new PiwikTracker(qApp, QUrl("https://yourserver"), 1);
piwikTracker->setCustomDimension(1, "some dimension");
piwikTracker->sendVisit("my/path");
```## References
- [QOwnNotes - cross-platform open source plain-text file markdown note taking](https://www.qownnotes.org)## Disclaimer
This SOFTWARE PRODUCT is provided by THE PROVIDER "as is" and "with all faults." THE PROVIDER makes no representations or warranties of any kind concerning the safety, suitability, lack of viruses, inaccuracies, typographical errors, or other harmful components of this SOFTWARE PRODUCT.There are inherent dangers in the use of any software, and you are solely responsible for determining whether this SOFTWARE PRODUCT is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and THE PROVIDER will not be liable for any damages you may suffer in connection with using, modifying, or distributing this SOFTWARE PRODUCT.