Skip to content

Commit ead40bf

Browse files
committed
Prepared for release
1 parent a2ac6c6 commit ead40bf

File tree

8 files changed

+35
-26
lines changed

8 files changed

+35
-26
lines changed

CHANGELOG

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Version 2.11.0 (2019-08-28)
2+
---------------------------
3+
Core: Send focus_form 'type' field as 'elementType' (#731)
4+
Update Sauce Connect version (#735)
5+
Add GDPR context (#645)
6+
Rotate npm token (#737)
7+
Deploy tracker asset directly to Github Tagged release rather than cloudfront (#741)
8+
Ensure that the intended version is deployed (#739)
9+
110
Version 2.10.2 (2019-02-07)
211
---------------------------
312
Update integration template to set eventMethod arg to get (#713)
@@ -358,7 +367,7 @@ Added examples of tracker namespacing (#159)
358367
Split async.html into async-small.html, async-medium.html (#160)
359368
Linked the Technical Docs and Setup Guide images to the appropriate pages (#164)
360369
Made JS invocation tag part of the build process (#158)
361-
Fixed warnings generated by the Closure Compiler, thanks @steve-gh! (#170)
370+
Fixed warnings generated by the Closure Compiler, thanks @steve-gh! (#170)
362371
Added untracked files which should be ignored to .gitignore (#173)
363372
Removed ads/sync.html (#182)
364373
Updated ads/async.html (#183)
@@ -412,7 +421,7 @@ Added getting started info for developers to README, thanks @pkallos! (#129)
412421

413422
Version 0.14.1 (2014-03-12)
414423
---------------------------
415-
Fixed bug where fromQuerystring was matching fragments instead of just the querystring (#116)
424+
Fixed bug where fromQuerystring was matching fragments instead of just the querystring (#116)
416425

417426
Version 0.14.0 (2014-02-12)
418427
---------------------------

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "snowplow-tracker-core",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"devDependencies": {
55
"@types/es6-shim": "0.31.34",
66
"@types/node": "^9.6.7",

examples/ads/async.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
22
"http://www.w3.org/TR/html4/loose.dtd">
3-
<!--
3+
<!--
44
! Copyright (c) 2012 Snowplow Analytics Ltd. All rights reserved.
55
!
66
! This program is licensed to you under the Apache License Version 2.0,
@@ -38,16 +38,16 @@ <h1>Asynchronous ad tracking examples for snowplow.js</h1>
3838
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
3939
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
4040
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
41-
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.10.2/sp.js","adTracker"));
41+
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.11.0/sp.js","adTracker"));
4242

4343
window.adTracker('newTracker', rnd, 'd3rkrsqld9gmqf.cloudfront.net', {
4444
'encodeBase64': false
4545
});
4646

47-
window.adTracker('trackAdImpression:' + rnd,
47+
window.adTracker('trackAdImpression:' + rnd,
4848

4949
'67965967893', // impressionId
50-
'cpa', // costModel - 'cpa', 'cpc', or 'cpm'
50+
'cpa', // costModel - 'cpa', 'cpc', or 'cpm'
5151
10, // cost - requires costModel
5252
'http://www.example.com', // targetUrl
5353
'23', // bannerId
@@ -57,11 +57,11 @@ <h1>Asynchronous ad tracking examples for snowplow.js</h1>
5757
);
5858

5959
function clickHandler() {
60-
window.adTracker('trackAdClick:' + rnd,
60+
window.adTracker('trackAdClick:' + rnd,
6161

6262
'http://www.example.com', // targetUrl
6363
'12243253', // clickId
64-
'cpm', // costModel
64+
'cpm', // costModel
6565
0.5, // cost
6666
'23', // bannerId
6767
'7', // zoneId
@@ -75,7 +75,7 @@ <h1>Asynchronous ad tracking examples for snowplow.js</h1>
7575
document.body.appendChild(button);
7676
button.onclick = function() {
7777

78-
window.adTracker('trackAdConversion:' + rnd,
78+
window.adTracker('trackAdConversion:' + rnd,
7979

8080
'743560297', // conversionId
8181
'cpm', // costModel
@@ -110,14 +110,14 @@ <h1>Asynchronous ad tracking examples for snowplow.js</h1>
110110
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
111111
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
112112
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
113-
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.10.2/sp.js","adTracker"));
113+
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.11.0/sp.js","adTracker"));
114114

115115
window.adTracker('newTracker', rnd, 'd3rkrsqld9gmqf.cloudfront.net', {
116116
'encodeBase64': false
117117
});
118118

119119
window.adTracker('trackAdImpression:' + rnd, '17320923496', 'cpm', 6.5, 'http://www.example.com', '127', '', '');
120-
120+
121121
function clickHandler() {
122122
window.adTracker('trackAdClick:' + rnd, 'http://www.example.com', '', 'cpm', 6.5, '127', '', '', '17320923496', '');
123123
}
@@ -141,8 +141,8 @@ <h1>Asynchronous ad tracking examples for snowplow.js</h1>
141141
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
142142
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
143143
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
144-
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.10.2/sp.js","adTracker"));
145-
144+
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.11.0/sp.js","adTracker"));
145+
146146
window.adTracker('newTracker', rnd, 'd3rkrsqld9gmqf.cloudfront.net', {
147147
'encodeBase64': false
148148
});

examples/web/async-large.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
22
"http://www.w3.org/TR/html4/loose.dtd">
3-
<!--
3+
<!--
44
! Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
55
!
66
! This program is licensed to you under the Apache License Version 2.0,
@@ -23,7 +23,7 @@
2323
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
2424
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
2525
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
26-
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.10.2/sp.js","snowplow_1"));
26+
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.11.0/sp.js","snowplow_1"));
2727

2828
window.snowplow_1('newTracker', 'cf', 'd3rkrsqld9gmqf.cloudfront.net', { // Initialise a tracker
2929
encodeBase64: false, // Default is true
@@ -83,7 +83,7 @@
8383
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
8484
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
8585
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
86-
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.10.2/sp.js","snowplow_2"));
86+
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.11.0/sp.js","snowplow_2"));
8787

8888
window.snowplow_2('newTracker', 'cf', 'd3rkrsqld9gmqf.cloudfront.net', { // Initialise a tracker
8989
encodeBase64: false, // Default is true

examples/web/async-medium.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
22
"http://www.w3.org/TR/html4/loose.dtd">
3-
<!--
3+
<!--
44
! Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
55
!
66
! This program is licensed to you under the Apache License Version 2.0,
@@ -24,7 +24,7 @@
2424
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
2525
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
2626
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
27-
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.10.2/sp.js","new_name_here"));
27+
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.11.0/sp.js","new_name_here"));
2828

2929
window.new_name_here('newTracker', 'cf', 'd3rkrsqld9gmqf.cloudfront.net', {
3030
encodeBase64: false,

examples/web/async-small.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
22
"http://www.w3.org/TR/html4/loose.dtd">
3-
<!--
3+
<!--
44
! Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
55
!
66
! This program is licensed to you under the Apache License Version 2.0,
@@ -23,7 +23,7 @@
2323
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
2424
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
2525
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
26-
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.10.2/sp.js","snowplow"));
26+
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.11.0/sp.js","snowplow"));
2727

2828
window.snowplow('newTracker', 'cf', 'd3rkrsqld9gmqf.cloudfront.net', { // Initialise a tracker
2929
encodeBase64: false, // Default is true

examples/web/sync.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
22
"http://www.w3.org/TR/html4/loose.dtd">
3-
<!--
3+
<!--
44
! Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
55
!
66
! This program is licensed to you under the Apache License Version 2.0,
@@ -19,7 +19,7 @@
1919

2020
<!-- Snowplow starts plowing -->
2121
<script type="text/javascript">
22-
var spSrc = ('https:' == document.location.protocol ? 'https' : 'http') + '://d1fc8wv8zag5ca.cloudfront.net/2.10.2/sp.js';
22+
var spSrc = ('https:' == document.location.protocol ? 'https' : 'http') + '://d1fc8wv8zag5ca.cloudfront.net/2.11.0/sp.js';
2323
document.write(unescape("%3Cscript src='" + spSrc + "' type='text/javascript'%3E%3C/script%3E"));
2424
</script>
2525
<script type="text/javascript">
@@ -41,7 +41,7 @@
4141
}
4242
function addProduct() {
4343
alert("Adding a product to basket");
44-
snowplowTracker.trackStructEvent('Checkout', 'Add', 'ASO01043', 'blue:xxl', '2.0');
44+
snowplowTracker.trackStructEvent('Checkout', 'Add', 'ASO01043', 'blue:xxl', '2.0');
4545
}
4646
function viewProduct() {
4747
alert("Viewing a product");

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "snowplow-tracker",
3-
"version": "2.10.2",
3+
"version": "2.11.0",
44
"dependencies": {
5-
"snowplow-tracker-core": "0.7.0",
5+
"snowplow-tracker-core": "0.7.1",
66
"browser-cookie-lite": "0.3.1",
77
"jstimezonedetect": "1.0.5",
88
"murmurhash": "0.0.2",

0 commit comments

Comments
 (0)