@ihor @Colm
Java script tracker(v2.10.0) sending previous event data along with my current event data to collector.
[
{
"evt":{
"e":"pv",
"url":"http://localhost:4200/menu",
"page":"Hello World",
"tv":"js-2.10.0",
"tna":"cf",
"aid":"Hello-Test",
"p":"web",
"tz":"Asia/Kolkata",
"lang":"en-GB",
"cs":"UTF-8",
"f_pdf":"1",
"f_qt":"0",
"f_realp":"0",
"f_wma":"0",
"f_dir":"0",
"f_fla":"0",
"f_java":"0",
"f_gears":"0",
"f_ag":"0",
"res":"1440x900",
"cd":"24",
"cookie":"1",
"eid":"0774e7fc-70df-49c2-b423-939ad931ce4e",
"dtm":"1570445322197",
"vp":"1440x749",
"ds":"1455x13291",
"vid":"1",
"sid":"847f8e60-e739-43d9-9f89-cebc0a5ca631",
"duid":"9f572a2e-6515-4a7a-aa14-66b362f17c89",
"fp":"705354080",
"stm":"1570445365685"
},
"bytes":608
},
{
"evt":{
"e":"ue",
"ue_pr":"{\"schema\":\"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0\",\"data\":{\"schema\":\"iglu:in.hello/myschema/jsonschema/1-0-0\",\"data\":{\"imgId\":\"39\",\"imgSrc\":\"Desi Openers\",\"imgEvent\":\"smallImg\"}}}",
"tv":"js-2.10.0",
"tna":"cf",
"aid":"Hello-Test",
"p":"web",
"tz":"Asia/Kolkata",
"lang":"en-GB",
"cs":"UTF-8",
"f_pdf":"1",
"f_qt":"0",
"f_realp":"0",
"f_wma":"0",
"f_dir":"0",
"f_fla":"0",
"f_java":"0",
"f_gears":"0",
"f_ag":"0",
"res":"1440x900",
"cd":"24",
"cookie":"1",
"eid":"a6446e26-4251-40a7-a479-52d360465547",
"dtm":"1570445346739",
"vp":"1440x150",
"ds":"1455x2404",
"vid":"1",
"sid":"847f8e60-e739-43d9-9f89-cebc0a5ca631",
"duid":"9f572a2e-6515-4a7a-aa14-66b362f17c89",
"fp":"705354080",
"refr":"http://localhost:4200/menu",
"url":"http://localhost:4200/category",
"stm":"1570445365685"
},
"bytes":800
},
{
"evt":{
"e":"ue",
"ue_pr":"{\"schema\":\"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0\",\"data\":{\"schema\":\"iglu:in.hello/myschema/jsonschema/1-0-0\",\"data\":{\"imgId\":\"5\",\"imgSrc\":\"All-in-1-Meals\",\"imgEvent\":\"smallImg\"}}}",
"tv":"js-2.10.0",
"tna":"cf",
"aid":"Hello-Test",
"p":"web",
"tz":"Asia/Kolkata",
"lang":"en-GB",
"cs":"UTF-8",
"f_pdf":"1",
"f_qt":"0",
"f_realp":"0",
"f_wma":"0",
"f_dir":"0",
"f_fla":"0",
"f_java":"0",
"f_gears":"0",
"f_ag":"0",
"res":"1440x900",
"cd":"24",
"cookie":"1",
"eid":"55375271-c13e-4919-b610-445bff5ab439",
"dtm":"1570445365686",
"vp":"1440x150",
"ds":"1455x2404",
"vid":"1",
"sid":"847f8e60-e739-43d9-9f89-cebc0a5ca631",
"duid":"9f572a2e-6515-4a7a-aa14-66b362f17c89",
"fp":"705354080",
"refr":"http://localhost:4200/menu",
"url":"http://localhost:4200/category"
},
"bytes":801
}
]
This is last event data.
Below is next event data that is being sent to collector
[
{
"evt":{
"e":"pv",
"url":"http://localhost:4200/menu",
"page":"Hello world",
"tv":"js-2.10.0",
"tna":"cf",
"aid":"Hello-Test",
"p":"web",
"tz":"Asia/Kolkata",
"lang":"en-GB",
"cs":"UTF-8",
"f_pdf":"1",
"f_qt":"0",
"f_realp":"0",
"f_wma":"0",
"f_dir":"0",
"f_fla":"0",
"f_java":"0",
"f_gears":"0",
"f_ag":"0",
"res":"1440x900",
"cd":"24",
"cookie":"1",
"eid":"0774e7fc-70df-49c2-b423-939ad931ce4e",
"dtm":"1570445322197",
"vp":"1440x749",
"ds":"1455x13291",
"vid":"1",
"sid":"847f8e60-e739-43d9-9f89-cebc0a5ca631",
"duid":"9f572a2e-6515-4a7a-aa14-66b362f17c89",
"fp":"705354080",
"stm":"1570445559274"
},
"bytes":608
},
{
"evt":{
"e":"ue",
"ue_pr":"{\"schema\":\"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0\",\"data\":{\"schema\":\"iglu:in.hello/myschema/jsonschema/1-0-0\",\"data\":{\"imgId\":\"39\",\"imgSrc\":\"Desi Openers\",\"imgEvent\":\"smallImg\"}}}",
"tv":"js-2.10.0",
"tna":"cf",
"aid":"Hello-Test",
"p":"web",
"tz":"Asia/Kolkata",
"lang":"en-GB",
"cs":"UTF-8",
"f_pdf":"1",
"f_qt":"0",
"f_realp":"0",
"f_wma":"0",
"f_dir":"0",
"f_fla":"0",
"f_java":"0",
"f_gears":"0",
"f_ag":"0",
"res":"1440x900",
"cd":"24",
"cookie":"1",
"eid":"a6446e26-4251-40a7-a479-52d360465547",
"dtm":"1570445346739",
"vp":"1440x150",
"ds":"1455x2404",
"vid":"1",
"sid":"847f8e60-e739-43d9-9f89-cebc0a5ca631",
"duid":"9f572a2e-6515-4a7a-aa14-66b362f17c89",
"fp":"705354080",
"refr":"http://localhost:4200/menu",
"url":"http://localhost:4200/category",
"stm":"1570445559274"
},
"bytes":800
},
{
"evt":{
"e":"ue",
"ue_pr":"{\"schema\":\"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0\",\"data\":{\"schema\":\"iglu:in.hello/myschema/jsonschema/1-0-0\",\"data\":{\"imgId\":\"5\",\"imgSrc\":\"All-in-1-Meals\",\"imgEvent\":\"smallImg\"}}}",
"tv":"js-2.10.0",
"tna":"cf",
"aid":"Hello-Test",
"p":"web",
"tz":"Asia/Kolkata",
"lang":"en-GB",
"cs":"UTF-8",
"f_pdf":"1",
"f_qt":"0",
"f_realp":"0",
"f_wma":"0",
"f_dir":"0",
"f_fla":"0",
"f_java":"0",
"f_gears":"0",
"f_ag":"0",
"res":"1440x900",
"cd":"24",
"cookie":"1",
"eid":"55375271-c13e-4919-b610-445bff5ab439",
"dtm":"1570445365686",
"vp":"1440x150",
"ds":"1455x2404",
"vid":"1",
"sid":"847f8e60-e739-43d9-9f89-cebc0a5ca631",
"duid":"9f572a2e-6515-4a7a-aa14-66b362f17c89",
"fp":"705354080",
"refr":"http://localhost:4200/menu",
"url":"http://localhost:4200/category",
"stm":"1570445559274"
},
"bytes":801
},
{
"evt":{
"e":"ue",
"ue_pr":"{\"schema\":\"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0\",\"data\":{\"schema\":\"iglu:in.hello/myschema/jsonschema/1-0-0\",\"data\":{\"imgId\":\"9\",\"imgSrc\":\"Biryani\",\"imgEvent\":\"smallImg\"}}}",
"tv":"js-2.10.0",
"tna":"cf",
"aid":"Hello-Test",
"p":"web",
"tz":"Asia/Kolkata",
"lang":"en-GB",
"cs":"UTF-8",
"f_pdf":"1",
"f_qt":"0",
"f_realp":"0",
"f_wma":"0",
"f_dir":"0",
"f_fla":"0",
"f_java":"0",
"f_gears":"0",
"f_ag":"0",
"res":"1440x900",
"cd":"24",
"cookie":"1",
"eid":"836723c4-a021-423f-bbce-281fde133a64",
"dtm":"1570445559275",
"vp":"1440x150",
"ds":"1455x2404",
"vid":"1",
"sid":"847f8e60-e739-43d9-9f89-cebc0a5ca631",
"duid":"9f572a2e-6515-4a7a-aa14-66b362f17c89",
"fp":"705354080",
"refr":"http://localhost:4200/menu",
"url":"http://localhost:4200/category"
},
"bytes":794
}
]
Previous events are being repeated to next event.This creates lots of duplicate event in Big query table
is there any way to send only current event data?