banner-clicktag
v1.0.0
Published
Clicktag for your banner animations
Downloads
4
Readme
Clicktag Module
Quickly add a Clicktag to your Banner.
Setup
To add a clicktag for your banner:
Markup:
<a href="#clicktag" target="_blank" id="clicktag-link"></a>
Javascript:
var Clicktag = require('banner-clicktag');
var clicktag = new Clicktag();
// Target Element
var clickTagEl = document.getElementById('clicktag-link');
// Setup clicktag1
clickTag.setLink(clickTagEl, 'clicktag1');
clicktag1 is now available at
http://www.domain.tld/banner?clicktag1=clicktagurl.com