Forum Moderators: Robert Charlton & goodroi
But it seems that Google is starting to look at CSS and other presentation aspects of the pages it crawls, so my concern is that a tiny or hidden iframe might throw a spam flag. Is this the kind of thing that could (or would) be penalized automatically? It's almost certain to pass a manual check, so I'm not worried about that at all.
Thanks for any advice or insight,
Matthew
An image can only log the pageview itself.
I don't know PHP well enough, but I assume it has the same functionality as other languages to return binary data.
You pass the parameters to tracking.php the same way, just have it return back a 1x1 pixel image.
Within trackpages.php you simply need to output the http header location: trackimg.gif i.e. you redirect to the image file.
I don't use php and I'm not great with http headers, but this method should work. Of course, there's no need to place the image url as a parameter if you're happy to use the same image in all cases.
Kaled.