HTML5. clicktag implementation

Similar documents
BEST PRACTICES HTML5 SPECIFICATIONS. what's next in data-driven advertising. File Types. HTML5: HTML, JS, CSS, JPG, JPEG, GIF, PNG, and SVG

Technical Specifications Leaderboard + Mobile Leaderboard. 27/12/2018 Tech Specs 1

Contents AD SPECIFICATIONS AND STYLE GUIDE 2018

ADITION HTML5 clicktag

AD SPECIFICATIONS AND STYLE GUIDE 2018

Haymarket Business Media RECRUITMENT AD SPECIFICATIONS AND STYLE GUIDE 2018

Flash Ads. Tracking Clicks with Flash Clicks using the ClickTAG

Contents AD SPECIFICATIONS AND STYLE GUIDE 2017

PRODUCTION GUIDE. Adform Skin (836x x x x x754)

Haymarket Business Media AD SPECIFICATIONS AND STYLE GUIDE 2018

MIMS Online AD SPECIFICATIONS AND STYLE GUIDE 2018

HTML5 Creatives. MediaMath now supports HTML5 Creatives. Each T1AS HTML5 Creative must be uploaded with the following 2 components:

AD SPECIFICATIONS AND STYLE GUIDE IMPORTANT INFORMATION Please ensure that all Third Party Tags are SSL compatible (see page 9)

Display. Creative Guidelines and Specifications

If you are supplying a 970x250 Billboard or 970x90 Super Leaderboard you must supply the following sizes for Mobile and Tablet:

Enlargeit! Version 1.1 Operation Manual

Technical Specifications Half Page + Mobile Medium Rectangle. 31/05/2016 Tech Specs 1

Pop-up. File format/ size: Must provide (.gif or.jpg) still image - max. 75KB for Mobile - max. 400KB for Tablet

Flash Tutorial. Working With Text, Tween, Layers, Frames & Key Frames

Technical Requirements

Review Ch. 17 Creating Online Pages and Sites. 2010, 2006 South-Western, Cengage Learning

CMS and e-commerce Solutions. version 1.0. Please, visit us at: or contact directly by

Adform Nousukas (1600x40 > 1600x400) PRODUCTION GUIDE

Technical Specifications Responsive Takeover

Technical Specifications Expandable Takeover. 6/03/2017 Tech Specs 1

If you are supplying a 970x250 Billboard or 970x90 Super Leaderboard you must supply the following sizes for Mobile and Tablet:

Modules Documentation ADMAN. Phaistos Networks

Mobile LREC. Dimension: Mobile: 640 (W) x 500 (H) pixels (for News app now, available on mytv SUPER app since Jan 2018)

Third party edm - material specification

grinzoo advertising forms website / app

COSAS A TENER EN CUENTA

TECHNICAL SPECIFICATIONS - DIGITAL 2018 DISPLAY / VIDEO / ARCH TEMPLATE / NATIVE ADS / PARALLAX SCROLLING / ING / ROOFTOP STATIC VIDEO

In-ADS User Guide. Estonian Land Board Versioon 1.9.1

VectorDraw web Library

showinplaceholder The jquery Plug-in

UNIT 3 SECTION 1 Answer the following questions Q.1: What is an editor? editor editor Q.2: What do you understand by a web browser?

Hot Desking Application Web Portals Integration

Figure 1 Forms category in the Insert panel. You set up a form by inserting it and configuring options through the Properties panel.

Ajax- XMLHttpResponse. Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of

TECHNICAL SPECIFICATIONS DIGITAL Q1-2019

Technical Specifications Pareto pack:

Web Design. Basic Concepts

The ActionScript Markup Language

MetService Online Advertising Technical Specifications

Revision for Grade 7 ASP in Unit :1&2 Design & Technology Subject

Perceptive Process Mining

Programming Lab 1 (JS Hwk 3) Due Thursday, April 28

Deadlines The creative must be received no later than 3 working days (usually a Wednesday) before the commencement of the advertisement.

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

MetService Online Advertising Technical Specifications

A340 Laboratory Session #5

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

Top Trends in elearning. September 15 & 16, Is HTML5 Ready for elearning? Debbie Richards, Creative Interactive Ideas

How to lay out a web page with CSS

Flash, Video. How to add Flash movies into your site How to add video and audio to your site HTML5 <video> and <audio> elements

JavaScript is described in detail in many books on the subject, and there is excellent tutorial material at

Online banner advertising specifications

1. Log in Forgot password? Change language Dashboard... 7

Designing the Home Page and Creating Additional Pages

Stamp Builder. Documentation. v1.0.0

Online Geometry Computer Requirements (For students using computers other than the HCPS Dell issued laptops)

DIGITAL TECHNICAL SPECS

How to lay out a web page with CSS

ADOBE 9A Adobe Dreamweaver CS4 ACE.

BEFORE CLASS. If you haven t already installed the Firebug extension for Firefox, download it now from

Introduction to WEB PROGRAMMING

HOW TO Build an HTML5 Pushdown Banner

Design Document V2 ThingLink Startup

Online. Te c h n i c a l s p e c i f i c a t i o n s

A Guide to Liv-ex Software Development Kit (SDK)

Online Advertising Specification

Control Solutions i.candoit, i.board, and Babel Buster SP Web Server CGI Overview (2/2008)

Frequently asked questions on how to join the webinar

Web Designing Course

WELCOME TO STEELHOUSE NEW CLIENT QUICK START GUIDE

Last updated on 1/20/2017

QuietAgent Job Offer Agent Advert Implementation Specification

Evidence.com May 2017 Release Notes

AARP Creative Asset Specifications

SPECIFICATIONS ADVERTISING

icreate Editor Tech spec

JS Lab 1: (Due Thurs, April 27)

NEW ZEALAND RINT&DIGITAL ROD- CTION

AD SPECIFICATIONS Updated 2/03/2016

Javascript Performance in the Browser. Charlie Fiskeaux II User Interface Engineer

Configuring Anonymous Access to Analysis Files in TIBCO Spotfire 7.5

/ Ver.1.0. Production Regulations

Rasterization-based pipeline

SpaceNews.com Specifications

Ad Spec Guide

ThingLink User Guide. Andy Chen Eric Ouyang Giovanni Tenorio Ashton Yon

CSC Web Programming. Introduction to JavaScript

A.A. 2008/09. What is Ajax?

TECHNICAL SPECIFICATIONS

grabattention The jquery Plug-in

Introduction to DHTML

Getting Started with Authoring in Claro

Browser Support Internet Explorer

HTML5 MOCK TEST HTML5 MOCK TEST I

Ivy Tech Careers Site. Applicant Users Guide

Transcription:

HTML5 clicktag implementation Date: 18 02-2016 Version: 2.0

Summary Introduction... 3 Google Web Designer... 4 Adobe Edge... 5 Swiffy... 7.swf file with clicktag... 8 Case 1: clicktag explicit... 8 Case 2: clicktag implicit... 9.swf without clicktag... 10 Wbrm Animation... 11 Creation of HTML5 materials without third part tools...13 Use of callurl instead of clicktag... 14 Use of custom function instead of clicktag...15

Introduction The aim of this guide is to show all those requirements necessary for a correct delivery of a banner in HTML5 format. Due to the block of the technology Adobe Flash on several browser (Google Chrome, Firefox, Safari), as an alternative to Flash, it is possible to use HTML5 technology which has similar functionalities but better performances. HTML5 banner is delivered by ad.agio on a "good" iframe that verifies IAB specifications. In the following guide we will show you how to correctly implement the click depending on the tool used by each Agency to produce materials.

Google Web Designer It is necessary to modify.html file in the following way; before closing the </head> tag you have to insert the following code: <script type="text/javascript"> function getparameterbyname(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results === null? "" : decodeuricomponent(results[1].replace(/\+/g, " ")); } var clicktag = getparameterbyname('clicktag'); inside the anonymous javascript function put the following code: document.getelementbyid('gwd-ad').style.cursor = "pointer"; document.getelementbyid('gwd-ad').setattribute("onclick","window.open(clicktag)"); you should have a similar result:

Adobe Edge If using this tool, you have to modify.html file in the following way: insert the following code before closing the </head> tag: <script type="text/javascript"> function getparameterbyname(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results === null? "" : decodeuricomponent(results[1].replace(/\+/g, " ")); } var clicktag = getparameterbyname('clicktag');

And modify the symbol.bindelementaction function present in xyz_edge.js file with the following code: (function(symbolname){symbol.bindelementaction(compid,symbolname,"${click}","click", function(sym,e){window.open(clicktag,"_blank");}); NB if Symbol=Edge.Symbol with S in capital letter, Symbol.bindElementAction( ) must have S in capital letters too. Otherwise symbol=edge.symbol and symbol.bindelementaction( )

Swiffy If using this tool, you have to modify.html file and insert the following code before closing the </head> tag: <script type="text/javascript"> function getparameterbyname(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results === null? "" : decodeuricomponent(results[1].replace(/\+/g, " ")); } var clicktag = getparameterbyname('clicktag');.swf file could have or not already implemented the clicktag parameter. Let's analyze the two different sub-cases:

.swf file with clicktag If.swf file has already clicktag parameter implementation,we could have 2 more sub-cases: Case 1: clicktag explicit If you find var clicktag specifically defined than you have to delete the following block of code from head section: <script type="text/javascript">var clicktag = "http://www.capturiconic.renault.it/"; Example:

Case 2: clicktag implicit If you don t have a clicktag var specifically defined as in previous example then, look up if in your code there is already clicktag, like in the following example: In this case only, you have to do nothing.

.swf without clicktag If.swf file has not clicktag parameter implementation, than you have to add the following code after the div with id swiffycontainer : <script type='text/javascript'> document.getelementbyid('swiffycontainer').style.cursor="pointer"; document.getelementbyid('swiffycontainer').setattribute("onclick","window.open(clicktag)");

Wbrm Animation In case of wbrm_animation, in *.html you have to add the following code in the <head> section: <script type="text/javascript"> function getparameterbyname(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results === null? "" : decodeuricomponent(results[1].replace(/\+/g, " ")); } var clicktag = getparameterbyname('clicktag'); Like in the following example:

And the following code, before the </body> tag: <script type='text/javascript'> document.getelementbyid('canvas').onclick = function(){window.open(clicktag,'_blank');};

Creation of HTML5 materials without third part tools In case of creation of ads in HTML5 without using third part tools, *.html file must have in <head> section the following code: <script type="text/javascript"> function getparameterbyname(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results === null? "" : decodeuricomponent(results[1].replace(/\+/g, " ")); } var clicktag = getparameterbyname('clicktag'); clicktag variable could be used in case of a tag : <!-- esempio tag a --> <a href="javascript:window.open(clicktag)" > <img width='300' height='250' src='test.png'> </a> But also in case of onclick event in a div: <!-- esempio evento onclick --> <div style='width:300px; height:250px;cursor:pointer;' onclick='window.open(clicktag)'> <!--... --> </div>

Use of callurl instead of clicktag In all those cases you want to keep using as function callurl instead of clicktag you just need to substitute the name of the function as in the following example: clicktag variable could be used in case of a tag : But also in case of onclick event in a div:

Use of custom function instead of clicktag In all those cases you want to keep using another function (in our example is clickurl) instead of clicktag you need to add the clicktag script as in the following example: Your custom code: With the following one: