Helpdesk is open from Monday through Friday CET

All support tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

For pre-sale questions, please create an (free) account to post a message. Pre-sale tickets are public.

Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!

#6688 – How to add piwik to amp pages?

Posted in ‘wbAMP Community Edition’
Sunday, 17 December 2017 13:40 UTC
Hi there! I'd like to track the amp pages with PIWIK Analytics.
If I activate Analytics in the Plugin the script will be loaded but where to enter the tracking code? and witch tag type I have to chose?
It is both GA...
Found this in the Piwik forums:
Code should be like this:
[code type="markup"]
<amp-analytics><script type="application/json">
"triggers": {
"trackPageview": {
"on": "visible",
"request": "pageview"
"requests": {
"base": "${title}&url=${sourceUrl}&rand=${random}&apiv=1&urlref=${documentReferrer}&res=${screenWidth}x${screenHeight}&lang=${browserLanguage}&gt_ms=${serverResponseTime}&cs=${documentCharset}&_cvar={\"1\":[\"errorName\",\"${errorName}\"],\"2\":[\"errorMessage\",\"${errorMessage}\"]}",
"pageview": "${base}"

Thx for your support and for the great Plugin!
Frank Romeike
Monday, 18 December 2017 10:41 UTC

Thanks for your message. You are on public forum, where we can only reply to pre-sale questions.

We provide support to our subscribers through our helpdesk.
After logging in, please open a ticket describing as clearly as possible the problem you're experiencing.

Thanks and regards
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.