Mobile app version of vmapp.org
Login or Join
Si4351233

: How can I insert a tracking image in my blog under wordpress.com? I have a blog under wordpress.com and I inserted a fake image tag for analyzing visitors in widget like this: <img src="http://www.my-cgi.com/cgi-bin/ac

@Si4351233

Posted in: #Images #Tracking #Wordpress

I have a blog under wordpress.com and I inserted a fake image tag for analyzing visitors in widget like this:

<img src="http://www.my-cgi.com/cgi-bin/acclog.cgi?url=http://myblog.wordpress.com/">


But from June, 2016, seems like wordpress.com uses some cache and they convert the tag to like this:

<img src="https://i1.wp.com/www.my-cgi.com/cgi-bin/acclog.cgi">


Now I can't get the actual log of the visitors. Is there any way to insert image tag in my blog under wordpress.com without hitting cache?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Si4351233

2 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

It turned out that wordpress.com doesn't allow HTTP link. That's why it convert it to the cached contents with HTTPS.
I moved my CGI to HTTPS enabled host and it works now.

10% popularity Vote Up Vote Down


 

@Turnbaugh106

<img src="<?php bloginfo('template_directory') ?>/image/location.png">


from a security perspective what your attempting to do by manipulating the URL parameter to get an external sites resource is not safe.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme