: 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
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?
More posts by @Si4351233
2 Comments
Sorted by latest first Latest Oldest Best
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.
<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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.