It is essential to ensure that all your data is as correct as possible. Significant errors, such as undetected deviations between imported platform data and data within the platforms itself, might seriously harm your marketing efforts. You should therefore establish sound monitoring and alerting processes.
Various console-commands and background tasks (importing, merging etc.) write their logs to
aom-tasks.log
. All other logs (visitor requests, requests to this plugin's API endpoints, Piwik UI
interactions etc.) are written to aom.log
. All log files are stored in Piwik's main directory.
You can filter aom-tasks.log
for specific console-commands and background tasks by searching for strings
like {"platform":"AdWords","task":"import"}
or WARNING
.
It might be a good idea to rotate these log files on a daily basis.
...
By monitoring the API endpoint AOM.getStatus you can easily validate
The API endpoint AOM.getReprocessedVisitsStatus enables you to easily validate
...
You should monitor aom-tasks.log
automatically. Some checks that might be useful:
grep "ERROR" aom-tasks.log | grep "AdWords" | grep "import"
...
Based on the monitoring possibilities described above, you should setup alerting processes that inform those who are responsible as soon as possible after an error is being detected.
If you need need assistance in ensuring data quality, please feel free to get in touch.
We hope you find this Piwik plugin useful.
Feel free to get in touch if you have any questions or suggestions.