With so many conflicting resources around I thought we’d post the simplest way we’ve found to ad a Google / DFP clickTag to any HTML5 banner.
Basically this is all done by adding a couple of code snippets to the associated HTML file. I’ve based the following example on a 300×250 MRec banner.
- Google clickTag script
- div area to nominate click area
Simply add the following code in thearea
Then add the following code within the area.
You will also need to host the ‘createjs-2015.11.26.min.js’ file locally. So download it and host it with your assets.
Finally bookmark this HTML5 banner testing area which will test your advert prior to providing to publication or loading to Adwords.