Cloudflare Piwik App

I used this example to set up piwik on kubernetes, it went alright.
Since I’m using cloudflare too for my website, I tried to install the piwik app there to automatically add the tracking code but it was not added and when I check my piwik account, no data is there and keep getting the message that I should add the tracking code.
any idea what could be the problem !! cloudflare Rocket Loader is off !!