CloudFlare Setup with Piwik on seperate domain

Hi there!

I’m currently having an issue with cloudflare and piwik running on two seperate domains.

http://website1.com has Cloudflare and a Wordpress blog running on it (with the Cloudflare plugin)
http://analyticssite2.com has Piwik installed on it but WITHOUT Cloudflare running on that domain.

Both are on the same server (Hostgator), which as mod_cloudflare installed by default.

Now, Piwik is picking up the Cloudflare IPs in it’s logs instead the users IP. How would I go about fixing this? As far as I knew I had done all the steps to prevent this. Any help is apprecieated!

See: Installation - Analytics Platform - Matomo