Skip to content

Commit 868c70e

Browse files
author
segment-stage
committed
Release 2.3.27
1 parent dea825a commit 868c70e

File tree

7 files changed

+17
-10
lines changed

7 files changed

+17
-10
lines changed

History.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
2.3.27 / 2014-09-26
3+
===================
4+
5+
6+
27
2.3.26 / 2014-09-26
38
===================
49

analytics.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -8300,7 +8300,7 @@ var GA = exports.Integration = integration('Google Analytics')
83008300
.global('GoogleAnalyticsObject')
83018301
.option('anonymizeIp', false)
83028302
.option('classic', false)
8303-
.option('domain', 'none')
8303+
.option('domain', 'auto')
83048304
.option('doubleClick', false)
83058305
.option('enhancedLinkAttribution', false)
83068306
.option('ignoredReferrers', null)
@@ -8348,6 +8348,8 @@ GA.prototype.initialize = function(){
83488348
};
83498349
window.ga.l = new Date().getTime();
83508350

8351+
if(window.location.hostname == 'localhost') opts.domain = 'none';
8352+
83518353
window.ga('create', opts.trackingId, {
83528354
cookieDomain: opts.domain || GA.prototype.defaults.domain, // to protect against empty string
83538355
siteSpeedSampleRate: opts.siteSpeedSampleRate,
@@ -9783,7 +9785,7 @@ var Heap = module.exports = integration('Heap')
97839785
.assumesPageview()
97849786
.global('heap')
97859787
.global('_heapid')
9786-
.option('apiKey', '')
9788+
.option('appId', '')
97879789
.tag('<script src="//d36lvucg9kzous.cloudfront.net">');
97889790

97899791
/**
@@ -9796,7 +9798,7 @@ var Heap = module.exports = integration('Heap')
97969798

97979799
Heap.prototype.initialize = function(page){
97989800
window.heap=window.heap||[];window.heap.load=function(a){window._heapid=a;var d=function(a){return function(){window.heap.push([a].concat(Array.prototype.slice.call(arguments,0)));};},e=["identify","track"];for (var f=0;f<e.length;f++)window.heap[e[f]]=d(e[f]);};
9799-
window.heap.load(this.options.apiKey);
9801+
window.heap.load(this.options.appId);
98009802
this.load(this.ready);
98019803
};
98029804

@@ -16700,6 +16702,6 @@ module.exports.User = User;
1670016702
}, {"debug":182,"./entity":195,"inherit":196,"bind":180,"./cookie":181}],
1670116703
5: [function(require, module, exports) {
1670216704

16703-
module.exports = '2.3.26';
16705+
module.exports = '2.3.27';
1670416706

1670516707
}, {}]}, {}, {"1":"analytics"})

analytics.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "analytics",
3-
"version": "2.3.26",
3+
"version": "2.3.27",
44
"main": "analytics.js",
55
"dependencies": {},
66
"devDependencies": {}

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "lib/index.js",
44
"repo": "segmentio/analytics.js",
55
"description": "The hassle-free way to integrate analytics into any web application.",
6-
"version": "2.3.26",
6+
"version": "2.3.27",
77
"keywords": [
88
"analytics",
99
"analytics.js",

lib/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
module.exports = '2.3.26';
2+
module.exports = '2.3.27';

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "analytics.js",
33
"author": "Segment.io <[email protected]>",
4-
"version": "2.3.26",
4+
"version": "2.3.27",
55
"license": "MIT",
66
"description": "The hassle-free way to integrate analytics into any web application.",
77
"keywords": [

0 commit comments

Comments
 (0)