File tree Expand file tree Collapse file tree 6 files changed +22
-38
lines changed Expand file tree Collapse file tree 6 files changed +22
-38
lines changed Original file line number Diff line number Diff line change
1
+ Version 2.12.0 (2019-10-31)
2
+ ---------------------------
3
+ Core: Add function to allow setting Useragent (#744)
4
+ Fix OptimizelyX context collecting (#730)
5
+ Fix osx+safari testing setup issues (#760)
6
+ Fix tracker continuing to insert events up to max Local Storage quota (#764)
7
+ Fix dynamic context callbacks sometimes returning null (#743)
8
+ Fix stateStorageStrategy localStorage not increasing session counters (#718)
9
+ Update packages and test harness (#756)
10
+ Add Snowplow Micro tests (#755)
11
+
1
12
Version 2.11.0 (2019-08-28)
2
13
---------------------------
3
14
Core: Send focus_form 'type' field as 'elementType' (#731)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ npm install snowplow-tracker-core
13
13
## Example
14
14
15
15
``` js
16
- var core = require (' snowplow-tracker-core' );
16
+ var core = require (' snowplow-tracker-core' ). trackerCore ;
17
17
18
18
// Create an instance with base 64 encoding set to false (it defaults to true)
19
19
var coreInstance = core (false );
@@ -38,7 +38,7 @@ coreInstance.setUseragent('Snowplow/0.0.1');
38
38
// Track a page view with URL and title
39
39
var pageViewPayload = coreInstance .trackPageView (' http://www.example.com' , ' landing page' );
40
40
41
- console .log (pageViewPayload);
41
+ console .log (pageViewPayload . build () );
42
42
/*
43
43
{
44
44
'e': 'pv',
@@ -52,6 +52,7 @@ console.log(pageViewPayload);
52
52
'p': 'web',
53
53
'cd': 24,
54
54
'vp': '600x400',
55
+ 'ua': 'Snowplow/0.0.1',
55
56
'dtm': 1406879959702, // timestamp
56
57
'eid': '0718a85a-45dc-4f71-a949-27870442ed7d' // UUID
57
58
}
@@ -69,7 +70,7 @@ var unstructEventPayload = coreInstance.trackUnstructEvent({
69
70
}
70
71
});
71
72
72
- console .log (unstructEventPayload);
73
+ console .log (unstructEventPayload . build () );
73
74
/*
74
75
{
75
76
'e': 'ue',
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " snowplow-tracker-core" ,
3
- "version" : " 0.7.1 " ,
3
+ "version" : " 0.7.2 " ,
4
4
"devDependencies" : {
5
5
"@types/es6-shim" : " 0.31.34" ,
6
6
"@types/node" : " ^9.6.7" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " snowplow-tracker" ,
3
- "version" : " 2.11 .0" ,
3
+ "version" : " 2.12 .0" ,
4
4
"dependencies" : {
5
5
"browser-cookie-lite" : " ^1.0.4" ,
6
6
"jstimezonedetect" : " 1.0.5" ,
7
7
"murmurhash" : " 0.0.2" ,
8
8
"sha1" : " git://github.com/pvorb/node-sha1.git#910081c83f3661507d9d89e66e3f38d8b59d5559" ,
9
- "snowplow-tracker-core" : " ^0.7.1 " ,
9
+ "snowplow-tracker-core" : " ^0.7.2 " ,
10
10
"uuid" : " ^3.3.3"
11
11
},
12
12
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments