Title: Image analytics
Last modified: October 23, 2023

---

# Image analytics

 *  Resolved [atMaarten](https://wordpress.org/support/users/atmaarten/)
 * (@atmaarten)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/image-analytics/)
 * Hi Anton!
 * Is there any plan to implement some sort of analytics to see how many images 
   you’ve delivered through Cloudflare? Cloudflare basically told me they haven’t
   got those analytics, so i’m currently looking into another solution. Would it
   be possible for you to add this in the future?
 * A simple no is also an answer, just checking what your thoughts are on this. 
   🙂

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/image-analytics/#post-17145890)
 * Hi [@atmaarten](https://wordpress.org/support/users/atmaarten/),
 * I just checked my account, I can see “Images delivered” and “Images stored” stats
   on the Images Overview page. Or are you talking about some different stats?
 * Best regards,
   Anton
 *  Thread Starter [atMaarten](https://wordpress.org/support/users/atmaarten/)
 * (@atmaarten)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/image-analytics/#post-17146078)
 * Hi [@vanyukov](https://wordpress.org/support/users/vanyukov/),
 * Ah sorry, i meant to say that we use multiple websites / domains and we can’t
   get hold of the “Images delivered” per domain / website. I asked around in the
   Cloudflare community, but they said they haven’t got those analytics. Which is
   very disturbing, as you pay around 1 dollar per 100,000 delivered images, and
   if one of our websites gets a load of bot traffic then you will be paying a huge
   sum.
 * What i currently did to have ‘some’ analytics, is add a counter to the get_attachment_image_src()
   method after succesful retrieval of a Cloudflare Image URL. Which works fine 
   just to get some sort of analytics per domain.
 *  Plugin Author [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/image-analytics/#post-17146128)
 * Unfortunately, I don’t think you’ll be able to get accurate stats via the plugin,
   not all images go through `get_attachment_image_src`, the results will be skewed.
 * Did you get any responses from the Cloudflare community on how to get these stats?
   Maybe, using a Cloudflare Worker you could track the calls, log those out into
   a KV or D1 database, and have some sort of query that gives you a breakdown?
 *  Thread Starter [atMaarten](https://wordpress.org/support/users/atmaarten/)
 * (@atmaarten)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/image-analytics/#post-17146231)
 * I figured it won’t be accurate, but at least it’s something compared to Cloudflares
   analytics. I asked the Cloudflare community here: [https://community.cloudflare.com/t/see-detailed-usage-cloudflare-images/560056/7](https://community.cloudflare.com/t/see-detailed-usage-cloudflare-images/560056/7)
   but the response they provided didn’t give me any useful insights.
 * I also get what you are saying, but i’m not familiar with Cloudflare API’s; so
   i don’t really know how i would track incomming calls to the images API. For 
   now my solution would suffice, even though the results are skewed.
 * Thanks for your answer and insights! 🙂
 *  Plugin Author [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/image-analytics/#post-17202904)
 * [@atmaarten](https://wordpress.org/support/users/atmaarten/), I’m testing a new
   analytics module. Is this something you’d be interested in piloting on your sites?
 * Best regards,
   Anton
 *  Thread Starter [atMaarten](https://wordpress.org/support/users/atmaarten/)
 * (@atmaarten)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/image-analytics/#post-17202943)
 * [@vanyukov](https://wordpress.org/support/users/vanyukov/) Ofcourse i’d be willing
   to test this! Hit me up 🙂
 *  Plugin Author [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/image-analytics/#post-17219629)
 * [@atmaarten](https://wordpress.org/support/users/atmaarten/),
 * I’ve sent you a message in WordPress slack, but you did not respond. Anyways,
   I’ve moved this to a public beta, so you can test the following way:
    1. Install the plugin beta from [https://github.com/av3nger/cf-images/releases/tag/1.7.0-beta.1](https://github.com/av3nger/cf-images/releases/tag/1.7.0-beta.1)
    2. If not already, create an account at [https://getfuzion.io](https://getfuzion.io)
    3. Login to the account, go to Cloudflare and follow the instructions to set everything
       up. Where it asks you to add a “Custom Image Path”, it should be a string, for
       example, `images` – this is what the image URL will use instead of that weird
       looking `cdn-cgi/imagedelivery` string.
    4. In the plugin, make sure you have a custom domain set up, go to Pro features,
       enable the custom images URL module, add the string from the step above.
 * And you should be good to go.
 * One last thing – the feature is behind a paywall, so please send me your email,
   I’ll make sure you have access.
 * Best regards,
   Anton
 *  Thread Starter [atMaarten](https://wordpress.org/support/users/atmaarten/)
 * (@atmaarten)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/image-analytics/#post-17220881)
 * Hi Anton!
 * Thanks for your reply, this is not my personal WordPress account; so i didn’t
   even this account was associated with the WordPress slack. My e-mailadres is 
   [tech@sysplatform.nl](https://wordpress.org/support/topic/image-analytics/tech@sysplatform.nl?output_format=md),
   please let me know when you added this account so i can test this functionality.
   🙂
 * Have a great day!
 *  Plugin Author [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/image-analytics/#post-17220928)
 * [@atmaarten](https://wordpress.org/support/users/atmaarten/),
 * Done. Might take a few minutes to get deployed, but should be good to go. Just
   in case something is not working – disabling the module on the plugin will revert
   everything back. I’ve been running this on all my sites for a couple of days 
   now and I haven’t had any issues so far.
 * Best regards,
   Anton
    -  This reply was modified 2 years, 6 months ago by [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/).
 *  Thread Starter [atMaarten](https://wordpress.org/support/users/atmaarten/)
 * (@atmaarten)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/image-analytics/#post-17223799)
 * [@vanyukov](https://wordpress.org/support/users/vanyukov/)
 * Thanks! I still cannot use the Cloudflare option on getfuzion.io. Am i doing 
   something wrong?
 *  Plugin Author [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/image-analytics/#post-17226163)
 * I’ll mark this as resolved, we can continue discussing via email.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Image analytics’ is closed to new replies.

 * ![](https://ps.w.org/cf-images/assets/icon-256x256.png?rev=2930278)
 * [Offload, AI & Optimize with Cloudflare Images](https://wordpress.org/plugins/cf-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf-images/)
 * [Active Topics](https://wordpress.org/support/plugin/cf-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf-images/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/image-analytics/#post-17226163)
 * Status: resolved