Plugin Directory

Changeset 1067492


Ignore:
Timestamp:
01/13/2015 11:43:03 PM (11 years ago)
Author:
segmentio
Message:

Tagging version 1.0.9

Location:
segmentio/tags/1.0.9
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • segmentio/tags/1.0.9

    • Property svn:ignore set to

      Readme.md
      .git
      .gitignore
  • segmentio/tags/1.0.9/Readme.md

    r980785 r1067492  
    22# Analytics for WordPress
    33
    4 **Analytics for WordPress** is a WordPress plugin for [Segment](https://segment.io) that lets you send data to any analytics service you want without touching any code.
     4**Analytics for WordPress** is a WordPress plugin for [Segment](https://segment.com) that lets you send data to any analytics service you want without touching any code.
    55
    66
    77## Installation
    88
    9 To get up and running, checkout our documentation at [segment.io/plugins/wordpress](https://segment.io/plugins/wordpress)—installation takes less than five minutes!
     9To get up and running, checkout our documentation at [segment.com/plugins/wordpress](https://segment.com/plugins/wordpress)—installation takes less than five minutes!
    1010
    1111
     
    3131## Support
    3232
    33 If you run into issues, be sure to check out the [documentation](https://segment.io/plugins/wordpress), and you can always reach out to our [support team](https://segment.io/support) for help!
     33If you run into issues, be sure to check out the [documentation](https://segment.com/plugins/wordpress), and you can always reach out to our [support team](https://segment.com/support) for help!
    3434
    3535
  • segmentio/tags/1.0.9/analytics-wordpress.php

    r986769 r1067492  
    44Plugin URI: https://segment.io/plugins/wordpress
    55Description: The hassle-free way to integrate any analytics service into your WordPress site.
    6 Version: 1.0.4
     6Version: 1.0.9
    77License: GPLv2
    88Author: Segment.io
     
    182182     * Current plugin version.
    183183     */
    184     const VERSION = '1.0.5';
     184    const VERSION = '1.0.8';
    185185
    186186    /**
     
    821821
    822822                if ( ! self::is_excluded_post_type() ) {
    823                     $categories = implode( ', ', wp_list_pluck( get_categories( get_the_ID() ), 'name' ) );
     823                    $categories = implode( ', ', wp_list_pluck( get_the_category( get_the_ID() ), 'name' ) );
    824824                    $track = array(
    825825                        'event'      => sprintf( __( 'Viewed %s', 'segment' ), ucfirst( get_post_type() ) ),
  • segmentio/tags/1.0.9/bin/deploy

    r950000 r1067492  
    4646
    4747echo "Updating local SVN branch..."
     48git branch -f svn origin/svn
    4849git checkout svn
    49 git reset --hard origin/svn
    5050
    5151#
  • segmentio/tags/1.0.9/readme.txt

    r986769 r1067492  
    44Requires at least: 3.6
    55Tested up to: 4.0
    6 Stable tag: 1.0.5
     6Stable tag: 1.0.9
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7676== Changelog ==
    7777
     78= 1.0.6 =
     79* Bump snippet to version 3.0.0
     80* Fix for category retrieval bug
     81
    7882= 1.0.5 =
    7983* Add context information to page calls.
  • segmentio/tags/1.0.9/templates/snippet.php

    r948394 r1067492  
    11<script type="text/javascript">
    2     window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9";
     2    !function(){var analytics=window.analytics=window.analytics||[];if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","group","track","ready","alias","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="3.0.0";
    33    <?php if ( ! $ignore ) : ?>
    44    window.analytics.load("<?php echo esc_js( $settings['api_key'] ); ?>");
Note: See TracChangeset for help on using the changeset viewer.