Tracking a Gif or Jpeg image

Posted on 2011-10-20
Medium Priority
Last Modified: 2013-11-19

I need to place some advertising with an ad network, however the only format that they will accept is an image file (gif or JPEG) and a clickthru URL. However I want to make sure that I can see where my advertising is being placed and be able to count impressions.  I have a tracking pixel similar to this one:

<script type='text/javascript' src='http://eu.projectsunblock.com/system/pixel.php?a=229&c=127&js=1'></script>

However because there is no way to give them a redirect tag (i.e. a doubleclick tag) I can't implement this.  It is no good trying to append this to the Click URL as I need to keep track of impressions - not clicks.

Is there a way that I can embed this pixel/code into the image, or another work around?

I'm really stuck and I don;t want to spend my money unless I can track, and I don't want to rely on or trust the stats of the network.

Question by:eezar21
  • 2
LVL 28

Expert Comment

ID: 36999882
Your best option is to give a URL to the image directly and set up web site monitoring tools to count the number of loads on that image. You "cannot" embed code into an image. That would be a HUGE security flaw. The reason I quoted cannot is because there was a flaw in JPEG files with IE that would allow javascript code to execute but it has since been patched.

Author Comment

ID: 37000027
Yeah, sadly the only option I have is to upload either a Gif, JPEG or PNG, and not a URL.

LVL 28

Accepted Solution

strickdd earned 2000 total points
ID: 37000083
Then what you are trying to do, cannot be done. Sorry.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
We aren’t perfect, just like everyone else.  Check out the email errors our community caught and learn the top errors every email marketer should avoid.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses
Course of the Month15 days, 22 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question