Changeset 2206752
- Timestamp:
- 12/05/2019 06:30:00 PM (6 years ago)
- Location:
- tiny-desk-pixel/trunk
- Files:
-
- 2 edited
-
public/js/tiny-desk-pixel-public.js (modified) (1 diff)
-
tiny-desk-pixel.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tiny-desk-pixel/trunk/public/js/tiny-desk-pixel-public.js
r2204821 r2206752 2 2 'use strict'; 3 3 function clickListener(event) { 4 if(event.target.tagName.toLowerCase() === 'a') { 5 const href = event.target.href; 4 let link = undefined; 5 event.path.forEach(el => { 6 if (el.tagName && el.tagName.toLowerCase() === 'a' && el.href) { 7 link = el; 8 } 9 }) 10 if(link) { 11 const href = link.href; 6 12 const telRegex = /^tel:/; 7 13 const mapRegex = /(goo.gl|google.com)\/maps\//; -
tiny-desk-pixel/trunk/tiny-desk-pixel.php
r2204821 r2206752 15 15 * Plugin URI: www.thetradedesk.com 16 16 * Description: It helps you add easily your tracking tag from Tiny Desk by just giving your advertiser id and pixel id. 17 * Version: 1.0. 417 * Version: 1.0.5 18 18 * Author: The Trade Desk 19 19 * Author URI: https://profiles.wordpress.org/thetinydesk/ … … 34 34 * Rename this for your plugin and update it as you release new versions. 35 35 */ 36 define( 'TINY_DESK_PIXEL_VERSION', '1.0. 4' );36 define( 'TINY_DESK_PIXEL_VERSION', '1.0.5' ); 37 37 38 38 /**
Note: See TracChangeset
for help on using the changeset viewer.