C++ Qt Tracker Library for Piwik / Matomo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests fixed a comment Sep 5, 2016
.gitignore
.travis.yml fixed coveralls error message Sep 1, 2017
LICENSE years were bumped to 2018 Mar 29, 2018
README.md added new name Matomo Aug 25, 2018
appveyor.yml attempted to fix Appveyor build process Aug 26, 2018
coveralls.sh fixed coveralls error message Sep 1, 2017
piwiktracker.cpp years were bumped to 2018 Mar 29, 2018
piwiktracker.h
piwiktracker.pri initial commit of library Feb 22, 2016

README.md

Qt C++ Piwik / Matomo Tracker Library

Build Status Linux/OS X Build Status Windows Coverage Status

PiwikTracker is a C++ Qt 5 library for tracking with the open-source analytics platform Piwik, now Matomo.

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 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
// 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

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.