WordPress.org

Plugin Directory

Changeset 1518168


Ignore:
Timestamp:
10/20/2016 12:50:16 AM (3 years ago)
Author:
valeriutihai
Message:

ADD: version 1.0.5

Location:
analytics-tracker
Files:
27 added
4 edited

Legend:

Unmodified
Added
Removed
  • analytics-tracker/trunk/analytics-tracker.php

    r1476091 r1518168  
    66 * Text Domain: analytics-tracker
    77 * Domain Path: /languages
    8  * Version: 1.0.4
     8 * Version: 1.0.5
    99 * Author: Valeriu Tihai
    10  * Author URI: http://valeriu.tihai.ca
     10 * Author URI: https://valeriu.tihai.ca
    1111 * Contributors: valeriutihai
    1212 * Donate link: https://paypal.me/valeriu/5
     
    171171            </div>
    172172            <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>
    174174                <div class="dailydesign_container"></div>
    175175            </div>
  • analytics-tracker/trunk/javascripts/analyticstracker-admin.js

    r1476091 r1518168  
    1717
    1818        $.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',
    2020          data: {
    21               filter: {
    22               'posts_per_page': 1,
     21              per_page: 1,
     22              filter: {
    2323              'orderby': 'rand'
    2424            },
  • analytics-tracker/trunk/javascripts/analyticstracker.js

    r1476091 r1518168  
    1919                var href_at = this_at.prop('href').split('?')[0];
    2020                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) {
    2222                    ga('send', 'event', 'Download', ext_at, href_at);
    2323                }
    24                 if (href_at.toLowerCase().indexOf('mailto:') === 0) {
     24                else if (href_at.toLowerCase().indexOf('mailto:') === 0) {
    2525                    ga('send', 'event', 'Email', href_at.substr(7));
    2626                }
    27                 if (href_at.toLowerCase().indexOf('tel:') === 0) {
     27                else if (href_at.toLowerCase().indexOf('tel:') === 0) {
    2828                    ga('send', 'event', 'Phone number', href_at.substr(4));
    2929                }
    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) {
    3131                    ga('send', 'event', 'Outbound', this.hostname, this.pathname);
    3232                }
  • analytics-tracker/trunk/readme.txt

    r1476091 r1518168  
    1010Donate link: https://paypal.me/valeriu/5
    1111Requires at least: 4.2
    12 Tested up to: 4.6
    13 Stable tag: 1.0.4
     12Tested up to: 4.6.1
     13Stable tag: 1.0.5
    1414License: GPLv2 or later
    1515License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2222
    2323Analytics 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]
    2426
    2527This is one of the simplest to use WordPress plugins to insert Google Analytics code on your websites built in WordPress.
     
    8486
    8587== Changelog ==
     88= 1.0.5 =
     89* Fixed Event for Download, Email, Phone number and Outbound links
     90
    8691= 1.0.4 =
    8792* Added event for Add a Comment
     
    101106
    102107= 1.0.1 =
    103 * Added my WordPress themes
     108* Added my WordPress Themes
    104109* Fixed Regex for UA Code
    105110
Note: See TracChangeset for help on using the changeset viewer.