Skip to content

Instantly share code, notes, and snippets.

@aldrienht
Last active October 11, 2021 05:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aldrienht/f96ef02835c5210e6918bfdb8c6b84d0 to your computer and use it in GitHub Desktop.
Save aldrienht/f96ef02835c5210e6918bfdb8c6b84d0 to your computer and use it in GitHub Desktop.
App Metrics Checkout Parameters
{
"shop_id" => 40718008476,
"name" => "direct_checkout",
"checkout_item" => [
{
"variant_id" => 34839683891356,
"quantity" => 1,
"product_id" => 5340830433436,
"final_price" => 140050,
"handle" => "basketball-spalding-x2",
"title" => "Basketball Spalding x2",
"image" => "//cdn.shopify.com/s/files/1/0407/1800/8476/products/ball1.png?v=1606099950"
}
],
"timestamp" => "1633927740",
"date" => "2021-10-11",
"hour" => 4,
"id" => "a898d77226d1466ca64ef966c685f0df1633927740747",
"app" => "ba",
"visit_token" => "e64c0132ce494af08f8e2712cb12d65e1633927712136",
"visitor_token" => "ee0db2b8ccc945d199ad4c0664df1f671633927712138",
"common" => {
"shop" => {
"permanent_domain" => "msg-app-store.myshopify.com",
"currency" => "USD",
"money_format" => "${{amount}}",
"id" => 40718008476
},
"template" => "product",
"cart" => {},
"vapid_public_key" => ""
},
"api" => {},
"shop" => "msg-app-store.myshopify.com",
"path_prefix" => "/apps/ba-loy-dev",
"signature" => "08e8ce991fc769ed817e80a3cbf90e2d9f660b0375969cc661b1b031467f00a4",
"controller" => "msg/loy/api",
"action" => "app_metrics"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment