Changeset 1518168
- Timestamp:
- 10/20/2016 12:50:16 AM (3 years ago)
- Location:
- analytics-tracker
- Files:
-
- 27 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
analytics-tracker/trunk/analytics-tracker.php
r1476091 r1518168 6 6 * Text Domain: analytics-tracker 7 7 * Domain Path: /languages 8 * Version: 1.0. 48 * Version: 1.0.5 9 9 * Author: Valeriu Tihai 10 * Author URI: http ://valeriu.tihai.ca10 * Author URI: https://valeriu.tihai.ca 11 11 * Contributors: valeriutihai 12 12 * Donate link: https://paypal.me/valeriu/5 … … 171 171 </div> 172 172 <div class='card pressthis'> 173 <h2><a target="_blank" title="<?php _e('Daily Beautiful WordPress Templates for your business', 'analytics-tracker'); ?>" href="https://dailydesign .ca/?utm_source=DailyDesign&utm_medium=Recommendations&utm_campaign=AnalyticsTracker"><?php _e( 'Daily Design Cafe', 'analytics-tracker' ); ?> ☕</a></h2>173 <h2><a target="_blank" title="<?php _e('Daily Beautiful WordPress Templates for your business', 'analytics-tracker'); ?>" href="https://dailydesigncafe.com/?utm_source=DailyDesign&utm_medium=Recommendations&utm_campaign=AnalyticsTracker"><?php _e( 'Daily Design Cafe', 'analytics-tracker' ); ?> ☕</a></h2> 174 174 <div class="dailydesign_container"></div> 175 175 </div> -
analytics-tracker/trunk/javascripts/analyticstracker-admin.js
r1476091 r1518168 17 17 18 18 $.ajax( { 19 url: 'https://dailydesign .ca/wp-json/wp/v2/post_product-api',19 url: 'https://dailydesigncafe.com/wp-json/wp/v2/post_product-api', 20 20 data: { 21 filter: { 22 'posts_per_page': 1, 21 per_page: 1, 22 filter: { 23 23 'orderby': 'rand' 24 24 }, -
analytics-tracker/trunk/javascripts/analyticstracker.js
r1476091 r1518168 19 19 var href_at = this_at.prop('href').split('?')[0]; 20 20 var ext_at = href_at.split('.').pop(); 21 if ('7z, ai, avi, cbr, csv, doc, docx, exe, gz, jar, midi, mov, mp3, pdf, pdn, pez, pot, ppt, pptx, psd, pub, rar, tar, torrent, tsv, txt, wav, wma, wmv, wwf, xls, xlsx, zip'. split(',').indexOf(ext_at) !== -1) {21 if ('7z, ai, avi, cbr, csv, doc, docx, exe, gz, jar, midi, mov, mp3, pdf, pdn, pez, pot, ppt, pptx, psd, pub, rar, tar, torrent, tsv, txt, wav, wma, wmv, wwf, xls, xlsx, zip'.indexOf(ext_at) !== -1) { 22 22 ga('send', 'event', 'Download', ext_at, href_at); 23 23 } 24 if (href_at.toLowerCase().indexOf('mailto:') === 0) {24 else if (href_at.toLowerCase().indexOf('mailto:') === 0) { 25 25 ga('send', 'event', 'Email', href_at.substr(7)); 26 26 } 27 if (href_at.toLowerCase().indexOf('tel:') === 0) {27 else if (href_at.toLowerCase().indexOf('tel:') === 0) { 28 28 ga('send', 'event', 'Phone number', href_at.substr(4)); 29 29 } 30 if ((this.protocol === 'http:' || this.protocol === 'https:') && this.hostname.indexOf(document.location.hostname) === -1) {30 else if ((this.protocol === 'http:' || this.protocol === 'https:') && this.hostname.indexOf(document.location.hostname) === -1) { 31 31 ga('send', 'event', 'Outbound', this.hostname, this.pathname); 32 32 } -
analytics-tracker/trunk/readme.txt
r1476091 r1518168 10 10 Donate link: https://paypal.me/valeriu/5 11 11 Requires at least: 4.2 12 Tested up to: 4.6 13 Stable tag: 1.0. 412 Tested up to: 4.6.1 13 Stable tag: 1.0.5 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 22 22 23 23 Analytics Tracker utilizes the latest and greatest features of Universal Google Analytics and makes it super easy to add tracking code on your blog. 24 25 [youtube https://www.youtube.com/watch?v=emtS4LMBFI0] 24 26 25 27 This is one of the simplest to use WordPress plugins to insert Google Analytics code on your websites built in WordPress. … … 84 86 85 87 == Changelog == 88 = 1.0.5 = 89 * Fixed Event for Download, Email, Phone number and Outbound links 90 86 91 = 1.0.4 = 87 92 * Added event for Add a Comment … … 101 106 102 107 = 1.0.1 = 103 * Added my WordPress themes108 * Added my WordPress Themes 104 109 * Fixed Regex for UA Code 105 110
Note: See TracChangeset
for help on using the changeset viewer.