Skip to content

Commit

Permalink
bump release 0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet committed Mar 26, 2015
1 parent f216bdc commit c549bd7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "revolunet",
"name": "angular-google-analytics",
"description": "Easy Analytics for your AngularJS application",
"version": "0.0.12",
"version": "0.0.13",
"homepage": "https://github.com/revolunet/angular-google-analytics",
"repository": {
"type": "git",
Expand Down
24 changes: 18 additions & 6 deletions dist/angular-google-analytics.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Angular Google Analytics - Easy tracking for your AngularJS application
* @version v0.0.12 - 2015-03-19
* @version v0.0.13 - 2015-03-26
* @link http://github.com/revolunet/angular-google-analytics
* @author Julien Bouquillon <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -775,9 +775,7 @@ angular.module('angular-google-analytics', [])
} else {
this._createScriptTag();
}

}


// activates page tracking
if (trackRoutes) {
Expand All @@ -786,6 +784,17 @@ angular.module('angular-google-analytics', [])
});
}

/**
* Track User Timings
* @timingCategory (Required): A string for categorizing all user timing variables into logical groups(e.g jQuery).
* @timingVar (Required): A string to identify the variable being recorded(e.g. JavaScript Load).
* @timingValue (Required): The number of milliseconds in elapsed time to report to Google Analytics(e.g. 20).
* @timingLabel (Not Required): A string that can be used to add flexibility in visualizing user timings in the reports(e.g. Google CDN).
*/
this._trackTimings = function (timingCategory, timingVar, timingValue, timingLabel) {
this._send('timing', timingCategory, timingVar, timingValue, timingLabel);
};

return {
_logs: me._logs,
displayFeatures: displayFeatures,
Expand All @@ -802,17 +811,17 @@ angular.module('angular-google-analytics', [])
},
createAnalyticsScriptTag: function (config) {
if (config) {
cookieConfig = config;
cookieConfig = config;
}

return me._createAnalyticsScriptTag();
},
createScriptTag: function (config) {
if (config) {
cookieConfig = config;
cookieConfig = config;
}

return me._createScriptTag();
return me._createScriptTag();
},
ecommerceEnabled: function () {
return me._ecommerceEnabled();
Expand Down Expand Up @@ -863,6 +872,9 @@ angular.module('angular-google-analytics', [])
trackCheckout: function (step, option) {
me._trackCheckOut(step, option);
},
trackTimings: function (timingCategory, timingVar, timingValue, timingLabel) {
me._trackTimings(timingCategory, timingVar, timingValue, timingLabel);
},
trackTransaction: function (transactionId, affiliation, revenue, tax, shipping, coupon, list, step, option){
me._trackTransaction(transactionId, affiliation, revenue, tax, shipping, coupon, list, step, option);
},
Expand Down
Loading

0 comments on commit c549bd7

Please sign in to comment.