3rd party integrations
...
Tracking Services
Matomo / Matomo Tag Manager
How to enable the whitelist feature in Matomo
8min
how to enable the whitelist feature in matomo the motivation for the whitelist feature is that only data from known sources is accepted in matomo and can be done in the matomo site configuration get the package name from your app the resulting package name is " com purplepublish purpledocumentationapp com purplepublish purpledocumentationapp " please note that android and ios can have different package names, due to structures that have grown over time in this case, urls with both package names must be stored in the matomo site configuration understanding the structure of sent urls by native apps since within native apps are not urls, existing pxp defines some structures on how to create action events the structure of the sent url for action events is https //{package name of the app}/{event name} https //{package name of the app}/{event name} example the triggered action event is " app bookmark added" app bookmark added" and this results in the url as follows being sent https //com purplepublish purpledocumentationapp/app bookmark added https //com purplepublish purpledocumentationapp/app bookmark added view events for view events, the path template can be configured as a "path" or a "full url" path "app menu" { "templates" { "path" "/app menu", "title" "app/menu" } } full url "app menu" { "templates" { "path" "https //com purplepublish custom/app/any path", "title" "app/menu" } } a) when configured as path the template structure of the sent url for view events is https //{package name of the app}/{path} https //{package name of the app}/{path} example the triggered view event is " /app/appmenu" /app/appmenu" and this results in the url as follows being sent https // https // com purplepublish purpledocumentationapp com purplepublish purpledocumentationapp /app/appmenu /app/appmenu b) when configured as url the template structure of the sent url for view events is {path} {path} example the triggered view event is " https //com https //com purplepublish purplepublish custom/app/any path" custom/app/any path" and this results in the url as follows being sent https //com https //com purplepublish purplepublish custom/app/any path custom/app/any path enable and setup whitelist feature in matomo matomo site created for the website a new or existing matomo site configuration regarding the whitelist feature could look like this in this example, it was previously created for a website add urls sent by native apps and enable whitelist now the urls for the native apps must be added, and the whitelist feature activated via a checkbox