Piwik Analytics Integration · Segment
How Piwik works
Installing tracking with Piwik is similar to installing Segment for the first time. You’ll need to map out your events and user traits to be collected, decide what code you need to collect that data, and install it into your products.
For JavaScript, in order to activate tracking by Piwik’s servers you must insert a code snippet into each element on each page you wish to be tracked. Tracking occurs when a visitor’s Web browser executes the Piwik JavaScript and pings the Piwik servers. Custom visitor data or custom events can be added, but require the implementation of additional code.
If Piwik does not offer an SDK in the language that your application is written in, you may have to default to coding against their HTTP API. Whatever your method, adding Piwik to your application typically requires some domain knowledge of your code, and may require app development time.