I don’t see a pixel loader as a default GWD component; is there a download/documentation link that you are using for how it is setup? Also, what error are you seeing and how do you reproduce it?
For your tracking pixel, do you just have a URL (within an img tag) that you want to be invoked a single time? It’d be useful to know more about your setup.
The error I get is that it is an unsupported component during validation.
The ad will have the 1x1 pixel img that will load when the ad is served up as an impression and a click tag if the customer wants to engage with the content. So we should get 2 different metrics the load and the exit to the ad’s website.
@Daniel
Currently I am not integrating Hype into it. Wish I was only working in Hype
I was asked to build a 300x250 ad in Google Web Designer. And add a loading pixel into the ad.
We have had issues with the pixel registering in our Salesforce DMP.
My thought was to rebuild the ad in Hype and wondered if there was a way to add the .img pixel in Hype.
Would it be as easy as making a 1px rectangle x 1 px rectangle with an onLoad script attached to it that sends the information to the specified url?
You might need to create a regular image tag in the HTML — something that loads outside of the Hype runtime if the validator isn't picking it up. Try just a regular image tag with (1x1 dimensions)?
I had found that, but it only seems to download a manifest.json and reports as "access denied" so I wasn't sure if this was doing the right thing. It seems to be pretty old since that page also seems to reference an older beta of google web designer.
You could definitely add that URL to an <img> tag within the inner HTML of a rectangle, but you may want to do some testing to make sure it doesn't get triggered multiple times. You could probably also make a script, guaranteed to be triggered once, that dynamically creates an img element, sets the src, and then adds it to the body.
if(window.hasLoadedTrackingPixel == null) {
window.hasLoadedTrackingPixel = true;
var img = new Image(0, 0);
document.body.appendChild(img);
img.src = "http://tracking.com/pixel-handler-here";
}