Added Snowplow checkout events minds#4585
Ticket(s) / Related Merge Requests
Summary of Changes
Added Snowplow checkout events triggered from the engine when entering checkout payment stage and when checkout has been completed.
Testing Considerations
Deployment Considerations
Normal deployment
Regression Scope
None
Platform Affected (web, mobile, etc)
Engine, Snowplow
Developer Testing Completed
Screenshots / Screen Recording
Event received by Snowplow when entering the checkout payment stage from Sandbox website
{
"errors": [
"No Errors"
],
"valid": true,
"app_id": "minds",
"id": "2878bc99-6bb0-42bf-beec-e174b893a27c0",
"timestamp": "1704818534000",
"contexts": [
"iglu:com.minds/network_checkout/jsonschema/1-0-1"
],
"event": {
"app_id": "minds",
"platform": "web",
"etl_tstamp": "2024-01-09T16:42:16.516Z",
"collector_tstamp": "2024-01-09T16:42:16.515Z",
"dvce_created_tstamp": "2024-01-09T16:42:14Z",
"event": "unstruct",
"event_id": "2878bc99-6bb0-42bf-beec-e174b893a27c",
"txn_id": null,
"name_tracker": "ma",
"v_tracker": "php-0.4.0",
"v_collector": "snowplow-micro-2.0.0-stdout$",
"v_etl": "snowplow-micro-2.0.0",
"user_id": "csqxmk9y4e3jpjqn3nbng",
"user_ipaddress": "92.29.206.97",
"user_fingerprint": null,
"domain_userid": null,
"domain_sessionidx": null,
"network_userid": "aa6b6d9e-6c64-409e-8250-fa97565e7314",
"geo_country": null,
"geo_region": null,
"geo_city": null,
"geo_zipcode": null,
"geo_latitude": null,
"geo_longitude": null,
"geo_region_name": null,
"ip_isp": null,
"ip_organization": null,
"ip_domain": null,
"ip_netspeed": null,
"page_url": null,
"page_title": null,
"page_referrer": null,
"page_urlscheme": null,
"page_urlhost": null,
"page_urlport": null,
"page_urlpath": null,
"page_urlquery": null,
"page_urlfragment": null,
"refr_urlscheme": null,
"refr_urlhost": null,
"refr_urlport": null,
"refr_urlpath": null,
"refr_urlquery": null,
"refr_urlfragment": null,
"refr_medium": null,
"refr_source": null,
"refr_term": null,
"mkt_medium": null,
"mkt_source": null,
"mkt_term": null,
"mkt_content": null,
"mkt_campaign": null,
"contexts": {
"schema": "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",
"data": [
{
"schema": "iglu:com.minds/network_checkout/jsonschema/1-0-1",
"data": {
"product_id": "networks:team",
"time_period": 2,
"addon_ids": [
"technical_support"
]
}
}
]
},
"se_category": null,
"se_action": null,
"se_label": null,
"se_property": null,
"se_value": null,
"unstruct_event": {
"schema": "iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",
"data": {
"schema": "iglu:com.minds/checkout/jsonschema/1-0-0",
"data": {
"type": 2
}
}
},
"tr_orderid": null,
"tr_affiliation": null,
"tr_total": null,
"tr_tax": null,
"tr_shipping": null,
"tr_city": null,
"tr_state": null,
"tr_country": null,
"ti_orderid": null,
"ti_sku": null,
"ti_name": null,
"ti_category": null,
"ti_price": null,
"ti_quantity": null,
"pp_xoffset_min": null,
"pp_xoffset_max": null,
"pp_yoffset_min": null,
"pp_yoffset_max": null,
"useragent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) AltairGraphQLClient/6.1.0 Chrome/116.0.5845.190 Electron/26.2.2 Safari/537.36",
"br_name": null,
"br_family": null,
"br_version": null,
"br_type": null,
"br_renderengine": null,
"br_lang": "en",
"br_features_pdf": null,
"br_features_flash": null,
"br_features_java": null,
"br_features_director": null,
"br_features_quicktime": null,
"br_features_realplayer": null,
"br_features_windowsmedia": null,
"br_features_gears": null,
"br_features_silverlight": null,
"br_cookies": null,
"br_colordepth": null,
"br_viewwidth": null,
"br_viewheight": null,
"os_name": null,
"os_family": null,
"os_manufacturer": null,
"os_timezone": null,
"dvce_type": null,
"dvce_ismobile": null,
"dvce_screenwidth": null,
"dvce_screenheight": null,
"doc_charset": null,
"doc_width": null,
"doc_height": null,
"tr_currency": null,
"tr_total_base": null,
"tr_tax_base": null,
"tr_shipping_base": null,
"ti_currency": null,
"ti_price_base": null,
"base_currency": null,
"geo_timezone": null,
"mkt_clickid": null,
"mkt_network": null,
"etl_tags": null,
"dvce_sent_tstamp": "2024-01-09T16:42:16Z",
"refr_domain_userid": null,
"refr_dvce_tstamp": null,
"derived_contexts": {},
"domain_sessionid": null,
"derived_tstamp": "2024-01-09T16:42:14.515Z",
"event_vendor": "com.minds",
"event_name": "checkout",
"event_format": "jsonschema",
"event_version": "1-0-0",
"event_fingerprint": null,
"true_tstamp": null
},
"rawEvent": {
"api": {
"vendor": "com.snowplowanalytics.snowplow",
"version": "tp2"
},
"parameters": {
"e": "ue",
"ip": "92.29.206.97",
"eid": "2878bc99-6bb0-42bf-beec-e174b893a27c",
"ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) AltairGraphQLClient/6.1.0 Chrome/116.0.5845.190 Electron/26.2.2 Safari/537.36",
"aid": "minds",
"cx": "eyJzY2hlbWEiOiJpZ2x1OmNvbS5zbm93cGxvd2FuYWx5dGljcy5zbm93cGxvd1wvY29udGV4dHNcL2pzb25zY2hlbWFcLzEtMC0xIiwiZGF0YSI6W3sic2NoZW1hIjoiaWdsdTpjb20ubWluZHNcL25ldHdvcmtfY2hlY2tvdXRcL2pzb25zY2hlbWFcLzEtMC0xIiwiZGF0YSI6eyJwcm9kdWN0X2lkIjoibmV0d29ya3M6dGVhbSIsInRpbWVfcGVyaW9kIjoyLCJhZGRvbl9pZHMiOlsidGVjaG5pY2FsX3N1cHBvcnQiXX19XX0=",
"tna": "ma",
"stm": "1704818536000",
"tv": "php-0.4.0",
"p": "web",
"dtm": "1704818534000",
"uid": "csqxmk9y4e3jpjqn3nbng",
"lang": "en",
"ue_px": "eyJzY2hlbWEiOiJpZ2x1OmNvbS5zbm93cGxvd2FuYWx5dGljcy5zbm93cGxvd1wvdW5zdHJ1Y3RfZXZlbnRcL2pzb25zY2hlbWFcLzEtMC0wIiwiZGF0YSI6eyJzY2hlbWEiOiJpZ2x1OmNvbS5taW5kc1wvY2hlY2tvdXRcL2pzb25zY2hlbWFcLzEtMC0wIiwiZGF0YSI6eyJ0eXBlIjoyfX19"
},
"contentType": "application/json",
"source": {
"name": "snowplow-micro-2.0.0-stdout$",
"encoding": "UTF-8",
"hostname": "moving-officially-mutt.ngrok-free.app"
},
"context": {
"timestamp": "2024-01-09T16:42:16.515Z",
"ipAddress": "129.159.112.99",
"useragent": null,
"refererUri": null,
"headers": [
"Timeout-Access: <function1>",
"Host: moving-officially-mutt.ngrok-free.app",
"Accept: application/json",
"X-Forwarded-For: 129.159.112.99",
"X-Forwarded-Host: moving-officially-mutt.ngrok-free.app",
"X-Forwarded-Proto: https",
"Accept-Encoding: gzip",
"application/json"
],
"userId": "aa6b6d9e-6c64-409e-8250-fa97565e7314"
}
},
"schema": "iglu:com.minds/checkout/jsonschema/1-0-0",
"eventType": "unstruct",
"eventName": "checkout",
"eventVendor": "com.minds"
}
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Definition of Done Checklist
-
The Acceptance Criteria has been met -
Code is tested: Testing includes unit/spec, E2E/automated and manual testing -
Merge requests description has been filled out
Edited by Fausto Arcidiacono