[{"data":1,"prerenderedAt":2135},["ShallowReactive",2],{"docs-navigation-en":3,"docs-\u002Fen\u002Fdocs\u002Fdevelopers\u002Fevents":70,"docs-surround-\u002Fen\u002Fdocs\u002Fdevelopers\u002Fevents":2130},[4],{"title":5,"path":6,"stem":7,"children":8,"page":69},"En","\u002Fen","en",[9],{"title":10,"path":11,"stem":12,"children":13,"page":69},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[14,22,45],{"title":15,"path":16,"stem":17,"children":18,"icon":21},"Getting started","\u002Fen\u002Fdocs\u002Fgetting-started","en\u002Fdocs\u002F1.getting-started\u002F1.index",[19],{"title":20,"path":16,"stem":17},"What Flowfy is","i-lucide-rocket",{"title":23,"path":24,"stem":25,"children":26,"icon":44},"Destinations","\u002Fen\u002Fdocs\u002Fdestinations","en\u002Fdocs\u002F2.destinations\u002F1.index",[27,28,32,36,40],{"title":23,"path":24,"stem":25},{"title":29,"path":30,"stem":31},"Meta","\u002Fen\u002Fdocs\u002Fdestinations\u002Fmeta","en\u002Fdocs\u002F2.destinations\u002F2.meta",{"title":33,"path":34,"stem":35},"TikTok","\u002Fen\u002Fdocs\u002Fdestinations\u002Ftiktok","en\u002Fdocs\u002F2.destinations\u002F3.tiktok",{"title":37,"path":38,"stem":39},"Snapchat","\u002Fen\u002Fdocs\u002Fdestinations\u002Fsnapchat","en\u002Fdocs\u002F2.destinations\u002F4.snapchat",{"title":41,"path":42,"stem":43},"ChatGPT Ads","\u002Fen\u002Fdocs\u002Fdestinations\u002Fopenai","en\u002Fdocs\u002F2.destinations\u002F5.openai","i-lucide-share-2",{"title":46,"path":47,"stem":48,"children":49,"icon":68},"For developers","\u002Fen\u002Fdocs\u002Fdevelopers","en\u002Fdocs\u002F9.developers\u002F1.index",[50,52,56,60,64],{"title":51,"path":47,"stem":48},"Developer overview",{"title":53,"path":54,"stem":55},"Install the SDK","\u002Fen\u002Fdocs\u002Fdevelopers\u002Finstall","en\u002Fdocs\u002F9.developers\u002F2.install",{"title":57,"path":58,"stem":59},"Tracking","\u002Fen\u002Fdocs\u002Fdevelopers\u002Ftracking","en\u002Fdocs\u002F9.developers\u002F3.tracking",{"title":61,"path":62,"stem":63},"Event reference","\u002Fen\u002Fdocs\u002Fdevelopers\u002Fevents","en\u002Fdocs\u002F9.developers\u002F4.events",{"title":65,"path":66,"stem":67},"HTTP API","\u002Fen\u002Fdocs\u002Fdevelopers\u002Fhttp-api","en\u002Fdocs\u002F9.developers\u002F5.http-api","i-lucide-code",false,{"id":71,"title":61,"audience":72,"body":73,"description":2124,"extension":2125,"meta":2126,"navigation":2127,"path":62,"seo":2128,"stem":63,"__hash__":2129},"docs_en\u002Fen\u002Fdocs\u002F9.developers\u002F4.events.md","developer",{"type":74,"value":75,"toc":2110},"minimark",[76,80,102,107,114,358,371,375,460,473,477,594,616,723,727,788,792,962,991,1216,1220,1343,1348,1581,1597,1603,1607,1689,1703,1706,1756,1766,1775,1779,1864,1895,1899,1935,1940,1944,2019,2048,2062,2066,2090,2106],[77,78,79],"p",{},"Send the names exactly as written. Property names are snake_case throughout. Anything not marked required is optional, and extra properties of your own are fine — they are stored alongside the rest.",[77,81,82,83,87,88,87,91,87,94,97,98,101],{},"You do not need all thirty. Most stores send five: ",[84,85,86],"code",{},"Product Viewed",", ",[84,89,90],{},"Product Added",[84,92,93],{},"Checkout Started",[84,95,96],{},"Order Completed"," and ",[84,99,100],{},"Products Searched",".",[103,104,106],"h2",{"id":105},"the-product-object","The product object",[77,108,109,110,113],{},"Several events carry a ",[84,111,112],{},"products"," array. Every entry uses the same shape:",[115,116,121],"pre",{"className":117,"code":118,"language":119,"meta":120,"style":120},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  product_id: \"P-4471\",   \u002F\u002F required\n  sku: \"WH-BLK-01\",\n  name: \"Wireless Headphones\",\n  price: 199.99,\n  quantity: 1,\n  currency: \"SAR\",\n  category: \"Electronics\",\n  brand: \"AudioTech\",\n  variant: \"Black\",\n  position: 3,\n  coupon: \"SUMMER20\",\n  url: \"https:\u002F\u002Fstore.example.com\u002Fp\u002Fheadphones\",\n  image_url: \"https:\u002F\u002Fstore.example.com\u002Fi\u002Fheadphones.jpg\"\n}\n","js","",[84,122,123,132,159,177,194,208,221,238,255,272,289,302,319,336,352],{"__ignoreMap":120},[124,125,128],"span",{"class":126,"line":127},"line",1,[124,129,131],{"class":130},"sMK4o","{\n",[124,133,135,139,142,145,149,152,155],{"class":126,"line":134},2,[124,136,138],{"class":137},"sBMFI","  product_id",[124,140,141],{"class":130},":",[124,143,144],{"class":130}," \"",[124,146,148],{"class":147},"sfazB","P-4471",[124,150,151],{"class":130},"\"",[124,153,154],{"class":130},",",[124,156,158],{"class":157},"sHwdD","   \u002F\u002F required\n",[124,160,162,165,167,169,172,174],{"class":126,"line":161},3,[124,163,164],{"class":137},"  sku",[124,166,141],{"class":130},[124,168,144],{"class":130},[124,170,171],{"class":147},"WH-BLK-01",[124,173,151],{"class":130},[124,175,176],{"class":130},",\n",[124,178,180,183,185,187,190,192],{"class":126,"line":179},4,[124,181,182],{"class":137},"  name",[124,184,141],{"class":130},[124,186,144],{"class":130},[124,188,189],{"class":147},"Wireless Headphones",[124,191,151],{"class":130},[124,193,176],{"class":130},[124,195,197,200,202,206],{"class":126,"line":196},5,[124,198,199],{"class":137},"  price",[124,201,141],{"class":130},[124,203,205],{"class":204},"sbssI"," 199.99",[124,207,176],{"class":130},[124,209,211,214,216,219],{"class":126,"line":210},6,[124,212,213],{"class":137},"  quantity",[124,215,141],{"class":130},[124,217,218],{"class":204}," 1",[124,220,176],{"class":130},[124,222,224,227,229,231,234,236],{"class":126,"line":223},7,[124,225,226],{"class":137},"  currency",[124,228,141],{"class":130},[124,230,144],{"class":130},[124,232,233],{"class":147},"SAR",[124,235,151],{"class":130},[124,237,176],{"class":130},[124,239,241,244,246,248,251,253],{"class":126,"line":240},8,[124,242,243],{"class":137},"  category",[124,245,141],{"class":130},[124,247,144],{"class":130},[124,249,250],{"class":147},"Electronics",[124,252,151],{"class":130},[124,254,176],{"class":130},[124,256,258,261,263,265,268,270],{"class":126,"line":257},9,[124,259,260],{"class":137},"  brand",[124,262,141],{"class":130},[124,264,144],{"class":130},[124,266,267],{"class":147},"AudioTech",[124,269,151],{"class":130},[124,271,176],{"class":130},[124,273,275,278,280,282,285,287],{"class":126,"line":274},10,[124,276,277],{"class":137},"  variant",[124,279,141],{"class":130},[124,281,144],{"class":130},[124,283,284],{"class":147},"Black",[124,286,151],{"class":130},[124,288,176],{"class":130},[124,290,292,295,297,300],{"class":126,"line":291},11,[124,293,294],{"class":137},"  position",[124,296,141],{"class":130},[124,298,299],{"class":204}," 3",[124,301,176],{"class":130},[124,303,305,308,310,312,315,317],{"class":126,"line":304},12,[124,306,307],{"class":137},"  coupon",[124,309,141],{"class":130},[124,311,144],{"class":130},[124,313,314],{"class":147},"SUMMER20",[124,316,151],{"class":130},[124,318,176],{"class":130},[124,320,322,325,327,329,332,334],{"class":126,"line":321},13,[124,323,324],{"class":137},"  url",[124,326,141],{"class":130},[124,328,144],{"class":130},[124,330,331],{"class":147},"https:\u002F\u002Fstore.example.com\u002Fp\u002Fheadphones",[124,333,151],{"class":130},[124,335,176],{"class":130},[124,337,339,342,344,346,349],{"class":126,"line":338},14,[124,340,341],{"class":137},"  image_url",[124,343,141],{"class":130},[124,345,144],{"class":130},[124,347,348],{"class":147},"https:\u002F\u002Fstore.example.com\u002Fi\u002Fheadphones.jpg",[124,350,351],{"class":130},"\"\n",[124,353,355],{"class":126,"line":354},15,[124,356,357],{"class":130},"}\n",[77,359,360,97,363,366,367,370],{},[84,361,362],{},"price",[84,364,365],{},"quantity"," are worth filling in even where they are optional: when an order arrives without a total, Flowfy rebuilds revenue by summing ",[84,368,369],{},"price × quantity"," across the array.",[103,372,374],{"id":373},"money","Money",[376,377,378,391],"table",{},[379,380,381],"thead",{},[382,383,384,388],"tr",{},[385,386,387],"th",{},"Property",[385,389,390],{},"Meaning",[392,393,394,405,420,430,440,450],"tbody",{},[382,395,396,402],{},[397,398,399],"td",{},[84,400,401],{},"value",[397,403,404],{},"What the order is worth. This is the revenue field",[382,406,407,412],{},[397,408,409],{},[84,410,411],{},"currency",[397,413,414,415,87,417],{},"Three-letter code — ",[84,416,233],{},[84,418,419],{},"USD",[382,421,422,427],{},[397,423,424],{},[84,425,426],{},"subtotal",[397,428,429],{},"Before shipping, tax and discount",[382,431,432,437],{},[397,433,434],{},[84,435,436],{},"discount",[397,438,439],{},"Amount taken off",[382,441,442,447],{},[397,443,444],{},[84,445,446],{},"shipping",[397,448,449],{},"Shipping charged",[382,451,452,457],{},[397,453,454],{},[84,455,456],{},"tax",[397,458,459],{},"Tax charged",[77,461,462,463,465,466,469,470,472],{},"Send ",[84,464,401],{}," on anything carrying money; ",[84,467,468],{},"revenue"," is accepted as a synonym. Always send ",[84,471,411],{}," beside it — an amount with no currency cannot be compared against ad spend.",[103,474,476],{"id":475},"browsing","Browsing",[376,478,479,492],{},[379,480,481],{},[382,482,483,486,489],{},[385,484,485],{},"Event",[385,487,488],{},"Required",[385,490,491],{},"Also useful",[392,493,494,512,537,562,576],{},[382,495,496,500,505],{},[397,497,498],{},[84,499,100],{},[397,501,502],{},[84,503,504],{},"query",[397,506,507,87,510],{},[84,508,509],{},"results_count",[84,511,112],{},[382,513,514,519,534],{},[397,515,516],{},[84,517,518],{},"Product List Viewed",[397,520,521,523,524,527,528,527,531],{},[84,522,112],{},", and one of ",[84,525,526],{},"list_id"," \u002F ",[84,529,530],{},"list_name",[84,532,533],{},"category",[397,535,536],{},"—",[382,538,539,544,549],{},[397,540,541],{},[84,542,543],{},"Product List Filtered",[397,545,546],{},[84,547,548],{},"filters",[397,550,551,87,553,87,555,87,557,87,560],{},[84,552,526],{},[84,554,530],{},[84,556,533],{},[84,558,559],{},"sorts",[84,561,112],{},[382,563,564,568,573],{},[397,565,566],{},[84,567,86],{},[397,569,570],{},[84,571,572],{},"product_id",[397,574,575],{},"every product field",[382,577,578,583,587],{},[397,579,580],{},[84,581,582],{},"Product Clicked",[397,584,585],{},[84,586,572],{},[397,588,589,590,87,592],{},"product fields, ",[84,591,526],{},[84,593,530],{},[77,595,596,598,599,602,603,598,605,608,609,612,613,101],{},[84,597,548],{}," is an array of ",[84,600,601],{},"{ type, value }",". ",[84,604,559],{},[84,606,607],{},"{ field, direction }",", where direction is ",[84,610,611],{},"asc"," or ",[84,614,615],{},"desc",[115,617,619],{"className":117,"code":618,"language":119,"meta":120,"style":120},"flowfyanalytics.track(\"Product Viewed\", {\n  product_id: \"P-4471\",\n  name: \"Wireless Headphones\",\n  price: 199.99,\n  currency: \"SAR\",\n  category: \"Electronics\"\n});\n",[84,620,621,647,662,676,686,700,712],{"__ignoreMap":120},[124,622,623,627,629,633,636,638,640,642,644],{"class":126,"line":127},[124,624,626],{"class":625},"sTEyZ","flowfyanalytics",[124,628,101],{"class":130},[124,630,632],{"class":631},"s2Zo4","track",[124,634,635],{"class":625},"(",[124,637,151],{"class":130},[124,639,86],{"class":147},[124,641,151],{"class":130},[124,643,154],{"class":130},[124,645,646],{"class":130}," {\n",[124,648,649,652,654,656,658,660],{"class":126,"line":134},[124,650,138],{"class":651},"swJcz",[124,653,141],{"class":130},[124,655,144],{"class":130},[124,657,148],{"class":147},[124,659,151],{"class":130},[124,661,176],{"class":130},[124,663,664,666,668,670,672,674],{"class":126,"line":161},[124,665,182],{"class":651},[124,667,141],{"class":130},[124,669,144],{"class":130},[124,671,189],{"class":147},[124,673,151],{"class":130},[124,675,176],{"class":130},[124,677,678,680,682,684],{"class":126,"line":179},[124,679,199],{"class":651},[124,681,141],{"class":130},[124,683,205],{"class":204},[124,685,176],{"class":130},[124,687,688,690,692,694,696,698],{"class":126,"line":196},[124,689,226],{"class":651},[124,691,141],{"class":130},[124,693,144],{"class":130},[124,695,233],{"class":147},[124,697,151],{"class":130},[124,699,176],{"class":130},[124,701,702,704,706,708,710],{"class":126,"line":210},[124,703,243],{"class":651},[124,705,141],{"class":130},[124,707,144],{"class":130},[124,709,250],{"class":147},[124,711,351],{"class":130},[124,713,714,717,720],{"class":126,"line":223},[124,715,716],{"class":130},"}",[124,718,719],{"class":625},")",[124,721,722],{"class":130},";\n",[103,724,726],{"id":725},"promotions","Promotions",[376,728,729,739],{},[379,730,731],{},[382,732,733,735,737],{},[385,734,485],{},[385,736,488],{},[385,738,491],{},[392,740,741,767],{},[382,742,743,748,756],{},[397,744,745],{},[84,746,747],{},"Promotion Viewed",[397,749,750,87,753],{},[84,751,752],{},"promotion_id",[84,754,755],{},"name",[397,757,758,87,761,87,764],{},[84,759,760],{},"creative",[84,762,763],{},"placement",[84,765,766],{},"position",[382,768,769,774,780],{},[397,770,771],{},[84,772,773],{},"Promotion Clicked",[397,775,776,87,778],{},[84,777,752],{},[84,779,755],{},[397,781,782,87,784,87,786],{},[84,783,760],{},[84,785,763],{},[84,787,766],{},[103,789,791],{"id":790},"cart-and-checkout","Cart and checkout",[376,793,794,804],{},[379,795,796],{},[382,797,798,800,802],{},[385,799,485],{},[385,801,488],{},[385,803,491],{},[392,805,806,826,843,862,894,919,940],{},[382,807,808,812,818],{},[397,809,810],{},[84,811,90],{},[397,813,814,87,816],{},[84,815,572],{},[84,817,365],{},[397,819,589,820,87,823],{},[84,821,822],{},"cart_id",[84,824,825],{},"source",[382,827,828,833,839],{},[397,829,830],{},[84,831,832],{},"Product Removed",[397,834,835,87,837],{},[84,836,572],{},[84,838,365],{},[397,840,589,841],{},[84,842,822],{},[382,844,845,850,856],{},[397,846,847],{},[84,848,849],{},"Cart Viewed",[397,851,852,87,854],{},[84,853,822],{},[84,855,112],{},[397,857,858,87,860],{},[84,859,411],{},[84,861,401],{},[382,863,864,868,879],{},[397,865,866],{},[84,867,93],{},[397,869,870,87,873,87,875,87,877],{},[84,871,872],{},"checkout_id",[84,874,411],{},[84,876,401],{},[84,878,112],{},[397,880,881,87,883,87,885,87,887,87,889,87,891],{},[84,882,426],{},[84,884,436],{},[84,886,446],{},[84,888,456],{},[84,890,822],{},[84,892,893],{},"coupon",[382,895,896,901,908],{},[397,897,898],{},[84,899,900],{},"Checkout Step Viewed",[397,902,903,87,905],{},[84,904,872],{},[84,906,907],{},"step",[397,909,910,87,913,87,916],{},[84,911,912],{},"step_name",[84,914,915],{},"payment_method",[84,917,918],{},"shipping_method",[382,920,921,926,932],{},[397,922,923],{},[84,924,925],{},"Checkout Step Completed",[397,927,928,87,930],{},[84,929,872],{},[84,931,907],{},[397,933,934,87,936,87,938],{},[84,935,912],{},[84,937,915],{},[84,939,918],{},[382,941,942,947,953],{},[397,943,944],{},[84,945,946],{},"Payment Info Entered",[397,948,949,87,951],{},[84,950,872],{},[84,952,915],{},[397,954,955,87,958,87,960],{},[84,956,957],{},"order_id",[84,959,918],{},[84,961,907],{},[77,963,964,966,967,969,970,972,973,87,976,87,979,87,982,87,985,612,988,101],{},[84,965,907],{}," is a whole number starting at 1. ",[84,968,825],{}," on ",[84,971,90],{}," says where it came from: ",[84,974,975],{},"product_page",[84,977,978],{},"wishlist",[84,980,981],{},"search",[84,983,984],{},"listing",[84,986,987],{},"recommendation",[84,989,990],{},"other",[115,992,994],{"className":117,"code":993,"language":119,"meta":120,"style":120},"flowfyanalytics.track(\"Checkout Started\", {\n  checkout_id: \"CHK-8821\",\n  currency: \"SAR\",\n  value: 523.17,\n  subtotal: 489.98,\n  shipping: 22.00,\n  tax: 11.19,\n  products: [\n    { product_id: \"P-4471\", name: \"Wireless Headphones\", price: 199.99, quantity: 1 },\n    { product_id: \"P-2210\", name: \"Phone Case\", price: 145.00, quantity: 2 }\n  ]\n});\n",[84,995,996,1016,1032,1046,1058,1070,1082,1094,1104,1154,1203,1208],{"__ignoreMap":120},[124,997,998,1000,1002,1004,1006,1008,1010,1012,1014],{"class":126,"line":127},[124,999,626],{"class":625},[124,1001,101],{"class":130},[124,1003,632],{"class":631},[124,1005,635],{"class":625},[124,1007,151],{"class":130},[124,1009,93],{"class":147},[124,1011,151],{"class":130},[124,1013,154],{"class":130},[124,1015,646],{"class":130},[124,1017,1018,1021,1023,1025,1028,1030],{"class":126,"line":134},[124,1019,1020],{"class":651},"  checkout_id",[124,1022,141],{"class":130},[124,1024,144],{"class":130},[124,1026,1027],{"class":147},"CHK-8821",[124,1029,151],{"class":130},[124,1031,176],{"class":130},[124,1033,1034,1036,1038,1040,1042,1044],{"class":126,"line":161},[124,1035,226],{"class":651},[124,1037,141],{"class":130},[124,1039,144],{"class":130},[124,1041,233],{"class":147},[124,1043,151],{"class":130},[124,1045,176],{"class":130},[124,1047,1048,1051,1053,1056],{"class":126,"line":179},[124,1049,1050],{"class":651},"  value",[124,1052,141],{"class":130},[124,1054,1055],{"class":204}," 523.17",[124,1057,176],{"class":130},[124,1059,1060,1063,1065,1068],{"class":126,"line":196},[124,1061,1062],{"class":651},"  subtotal",[124,1064,141],{"class":130},[124,1066,1067],{"class":204}," 489.98",[124,1069,176],{"class":130},[124,1071,1072,1075,1077,1080],{"class":126,"line":210},[124,1073,1074],{"class":651},"  shipping",[124,1076,141],{"class":130},[124,1078,1079],{"class":204}," 22.00",[124,1081,176],{"class":130},[124,1083,1084,1087,1089,1092],{"class":126,"line":223},[124,1085,1086],{"class":651},"  tax",[124,1088,141],{"class":130},[124,1090,1091],{"class":204}," 11.19",[124,1093,176],{"class":130},[124,1095,1096,1099,1101],{"class":126,"line":240},[124,1097,1098],{"class":651},"  products",[124,1100,141],{"class":130},[124,1102,1103],{"class":625}," [\n",[124,1105,1106,1109,1112,1114,1116,1118,1120,1122,1125,1127,1129,1131,1133,1135,1138,1140,1142,1144,1147,1149,1151],{"class":126,"line":257},[124,1107,1108],{"class":130},"    {",[124,1110,1111],{"class":651}," product_id",[124,1113,141],{"class":130},[124,1115,144],{"class":130},[124,1117,148],{"class":147},[124,1119,151],{"class":130},[124,1121,154],{"class":130},[124,1123,1124],{"class":651}," name",[124,1126,141],{"class":130},[124,1128,144],{"class":130},[124,1130,189],{"class":147},[124,1132,151],{"class":130},[124,1134,154],{"class":130},[124,1136,1137],{"class":651}," price",[124,1139,141],{"class":130},[124,1141,205],{"class":204},[124,1143,154],{"class":130},[124,1145,1146],{"class":651}," quantity",[124,1148,141],{"class":130},[124,1150,218],{"class":204},[124,1152,1153],{"class":130}," },\n",[124,1155,1156,1158,1160,1162,1164,1167,1169,1171,1173,1175,1177,1180,1182,1184,1186,1188,1191,1193,1195,1197,1200],{"class":126,"line":274},[124,1157,1108],{"class":130},[124,1159,1111],{"class":651},[124,1161,141],{"class":130},[124,1163,144],{"class":130},[124,1165,1166],{"class":147},"P-2210",[124,1168,151],{"class":130},[124,1170,154],{"class":130},[124,1172,1124],{"class":651},[124,1174,141],{"class":130},[124,1176,144],{"class":130},[124,1178,1179],{"class":147},"Phone Case",[124,1181,151],{"class":130},[124,1183,154],{"class":130},[124,1185,1137],{"class":651},[124,1187,141],{"class":130},[124,1189,1190],{"class":204}," 145.00",[124,1192,154],{"class":130},[124,1194,1146],{"class":651},[124,1196,141],{"class":130},[124,1198,1199],{"class":204}," 2",[124,1201,1202],{"class":130}," }\n",[124,1204,1205],{"class":126,"line":291},[124,1206,1207],{"class":625},"  ]\n",[124,1209,1210,1212,1214],{"class":126,"line":304},[124,1211,716],{"class":130},[124,1213,719],{"class":625},[124,1215,722],{"class":130},[103,1217,1219],{"id":1218},"orders","Orders",[376,1221,1222,1232],{},[379,1223,1224],{},[382,1225,1226,1228,1230],{},[385,1227,485],{},[385,1229,488],{},[385,1231,491],{},[392,1233,1234,1268,1293,1319],{},[382,1235,1236,1240,1250],{},[397,1237,1238],{},[84,1239,96],{},[397,1241,1242,87,1244,87,1246,87,1248],{},[84,1243,957],{},[84,1245,411],{},[84,1247,401],{},[84,1249,112],{},[397,1251,1252,87,1254,87,1256,87,1258,87,1260,87,1262,87,1264,87,1266],{},[84,1253,426],{},[84,1255,436],{},[84,1257,446],{},[84,1259,456],{},[84,1261,872],{},[84,1263,893],{},[84,1265,915],{},[84,1267,918],{},[382,1269,1270,1275,1288],{},[397,1271,1272],{},[84,1273,1274],{},"Order Updated",[397,1276,1277,87,1279,87,1282,87,1285],{},[84,1278,957],{},[84,1280,1281],{},"previous_status",[84,1283,1284],{},"current_status",[84,1286,1287],{},"changed_fields",[397,1289,1290,1291],{},"money fields, ",[84,1292,112],{},[382,1294,1295,1300,1312],{},[397,1296,1297],{},[84,1298,1299],{},"Order Refunded",[397,1301,1302,87,1305,87,1307,87,1310],{},[84,1303,1304],{},"refund_id",[84,1306,957],{},[84,1308,1309],{},"refund_amount",[84,1311,411],{},[397,1313,1314,87,1317],{},[84,1315,1316],{},"reason",[84,1318,112],{},[382,1320,1321,1326,1334],{},[397,1322,1323],{},[84,1324,1325],{},"Order Cancelled",[397,1327,1328,87,1330,87,1332],{},[84,1329,957],{},[84,1331,411],{},[84,1333,401],{},[397,1335,1336,87,1339,87,1341],{},[84,1337,1338],{},"cancellation_reason",[84,1340,1281],{},[84,1342,112],{},[77,1344,1345,1347],{},[84,1346,96],{}," is the one event worth getting exactly right — it is what every advertising platform optimises against.",[115,1349,1351],{"className":117,"code":1350,"language":119,"meta":120,"style":120},"flowfyanalytics.track(\"Order Completed\", {\n  order_id: \"ORD-12345\",\n  currency: \"SAR\",\n  value: 523.17,\n  subtotal: 489.98,\n  shipping: 22.00,\n  tax: 11.19,\n  coupon: \"SUMMER20\",\n  payment_method: \"mada\",\n  products: [\n    { product_id: \"P-4471\", name: \"Wireless Headphones\", price: 199.99, quantity: 1 },\n    { product_id: \"P-2210\", name: \"Phone Case\", price: 145.00, quantity: 2 }\n  ]\n});\n",[84,1352,1353,1373,1389,1403,1413,1423,1433,1443,1457,1473,1481,1525,1569,1573],{"__ignoreMap":120},[124,1354,1355,1357,1359,1361,1363,1365,1367,1369,1371],{"class":126,"line":127},[124,1356,626],{"class":625},[124,1358,101],{"class":130},[124,1360,632],{"class":631},[124,1362,635],{"class":625},[124,1364,151],{"class":130},[124,1366,96],{"class":147},[124,1368,151],{"class":130},[124,1370,154],{"class":130},[124,1372,646],{"class":130},[124,1374,1375,1378,1380,1382,1385,1387],{"class":126,"line":134},[124,1376,1377],{"class":651},"  order_id",[124,1379,141],{"class":130},[124,1381,144],{"class":130},[124,1383,1384],{"class":147},"ORD-12345",[124,1386,151],{"class":130},[124,1388,176],{"class":130},[124,1390,1391,1393,1395,1397,1399,1401],{"class":126,"line":161},[124,1392,226],{"class":651},[124,1394,141],{"class":130},[124,1396,144],{"class":130},[124,1398,233],{"class":147},[124,1400,151],{"class":130},[124,1402,176],{"class":130},[124,1404,1405,1407,1409,1411],{"class":126,"line":179},[124,1406,1050],{"class":651},[124,1408,141],{"class":130},[124,1410,1055],{"class":204},[124,1412,176],{"class":130},[124,1414,1415,1417,1419,1421],{"class":126,"line":196},[124,1416,1062],{"class":651},[124,1418,141],{"class":130},[124,1420,1067],{"class":204},[124,1422,176],{"class":130},[124,1424,1425,1427,1429,1431],{"class":126,"line":210},[124,1426,1074],{"class":651},[124,1428,141],{"class":130},[124,1430,1079],{"class":204},[124,1432,176],{"class":130},[124,1434,1435,1437,1439,1441],{"class":126,"line":223},[124,1436,1086],{"class":651},[124,1438,141],{"class":130},[124,1440,1091],{"class":204},[124,1442,176],{"class":130},[124,1444,1445,1447,1449,1451,1453,1455],{"class":126,"line":240},[124,1446,307],{"class":651},[124,1448,141],{"class":130},[124,1450,144],{"class":130},[124,1452,314],{"class":147},[124,1454,151],{"class":130},[124,1456,176],{"class":130},[124,1458,1459,1462,1464,1466,1469,1471],{"class":126,"line":257},[124,1460,1461],{"class":651},"  payment_method",[124,1463,141],{"class":130},[124,1465,144],{"class":130},[124,1467,1468],{"class":147},"mada",[124,1470,151],{"class":130},[124,1472,176],{"class":130},[124,1474,1475,1477,1479],{"class":126,"line":274},[124,1476,1098],{"class":651},[124,1478,141],{"class":130},[124,1480,1103],{"class":625},[124,1482,1483,1485,1487,1489,1491,1493,1495,1497,1499,1501,1503,1505,1507,1509,1511,1513,1515,1517,1519,1521,1523],{"class":126,"line":291},[124,1484,1108],{"class":130},[124,1486,1111],{"class":651},[124,1488,141],{"class":130},[124,1490,144],{"class":130},[124,1492,148],{"class":147},[124,1494,151],{"class":130},[124,1496,154],{"class":130},[124,1498,1124],{"class":651},[124,1500,141],{"class":130},[124,1502,144],{"class":130},[124,1504,189],{"class":147},[124,1506,151],{"class":130},[124,1508,154],{"class":130},[124,1510,1137],{"class":651},[124,1512,141],{"class":130},[124,1514,205],{"class":204},[124,1516,154],{"class":130},[124,1518,1146],{"class":651},[124,1520,141],{"class":130},[124,1522,218],{"class":204},[124,1524,1153],{"class":130},[124,1526,1527,1529,1531,1533,1535,1537,1539,1541,1543,1545,1547,1549,1551,1553,1555,1557,1559,1561,1563,1565,1567],{"class":126,"line":304},[124,1528,1108],{"class":130},[124,1530,1111],{"class":651},[124,1532,141],{"class":130},[124,1534,144],{"class":130},[124,1536,1166],{"class":147},[124,1538,151],{"class":130},[124,1540,154],{"class":130},[124,1542,1124],{"class":651},[124,1544,141],{"class":130},[124,1546,144],{"class":130},[124,1548,1179],{"class":147},[124,1550,151],{"class":130},[124,1552,154],{"class":130},[124,1554,1137],{"class":651},[124,1556,141],{"class":130},[124,1558,1190],{"class":204},[124,1560,154],{"class":130},[124,1562,1146],{"class":651},[124,1564,141],{"class":130},[124,1566,1199],{"class":204},[124,1568,1202],{"class":130},[124,1570,1571],{"class":126,"line":321},[124,1572,1207],{"class":625},[124,1574,1575,1577,1579],{"class":126,"line":338},[124,1576,716],{"class":130},[124,1578,719],{"class":625},[124,1580,722],{"class":130},[77,1582,1583,1585,1586,1589,1590,1592,1593,1596],{},[84,1584,957],{}," is what makes an order one order. Without it Flowfy cannot tell a repeated event from a second purchase, so duplicates are counted twice. ",[84,1587,1588],{},"transaction_id"," is accepted in its place. An ",[84,1591,957],{}," of ",[84,1594,1595],{},"0"," is treated as missing.",[77,1598,1599,1600,1602],{},"For a partial refund, send only the returned lines and the amount actually refunded. For a full refund the ",[84,1601,112],{}," array can be left out.",[103,1604,1606],{"id":1605},"coupons","Coupons",[376,1608,1609,1617],{},[379,1610,1611],{},[382,1612,1613,1615],{},[385,1614,485],{},[385,1616,488],{},[392,1618,1619,1636,1653,1672],{},[382,1620,1621,1626],{},[397,1622,1623],{},[84,1624,1625],{},"Coupon Entered",[397,1627,1628,523,1630,527,1632,527,1634],{},[84,1629,893],{},[84,1631,822],{},[84,1633,872],{},[84,1635,957],{},[382,1637,1638,1643],{},[397,1639,1640],{},[84,1641,1642],{},"Coupon Applied",[397,1644,1645,523,1647,527,1649,527,1651],{},[84,1646,893],{},[84,1648,822],{},[84,1650,872],{},[84,1652,957],{},[382,1654,1655,1660],{},[397,1656,1657],{},[84,1658,1659],{},"Coupon Denied",[397,1661,1662,87,1664,523,1666,527,1668,527,1670],{},[84,1663,893],{},[84,1665,1316],{},[84,1667,822],{},[84,1669,872],{},[84,1671,957],{},[382,1673,1674,1679],{},[397,1675,1676],{},[84,1677,1678],{},"Coupon Removed",[397,1680,1681,523,1683,527,1685,527,1687],{},[84,1682,893],{},[84,1684,822],{},[84,1686,872],{},[84,1688,957],{},[77,1690,1691,1693,1694,87,1697,97,1700,1702],{},[84,1692,893],{}," is the code the shopper typed. ",[84,1695,1696],{},"coupon_id",[84,1698,1699],{},"coupon_name",[84,1701,436],{}," are optional.",[103,1704,1705],{"id":978},"Wishlist",[376,1707,1708,1718],{},[379,1709,1710],{},[382,1711,1712,1714,1716],{},[385,1713,485],{},[385,1715,488],{},[385,1717,491],{},[392,1719,1720,1739],{},[382,1721,1722,1727,1734],{},[397,1723,1724],{},[84,1725,1726],{},"Product Added to Wishlist",[397,1728,1729,87,1731],{},[84,1730,572],{},[84,1732,1733],{},"wishlist_id",[397,1735,589,1736],{},[84,1737,1738],{},"wishlist_name",[382,1740,1741,1746,1752],{},[397,1742,1743],{},[84,1744,1745],{},"Product Removed from Wishlist",[397,1747,1748,87,1750],{},[84,1749,572],{},[84,1751,1733],{},[397,1753,589,1754],{},[84,1755,1738],{},[77,1757,1758,1759,97,1762,1765],{},"Note the lower-case ",[84,1760,1761],{},"to",[84,1763,1764],{},"from"," in those two names.",[77,1767,1768,1769,1771,1772,101],{},"When a shopper moves something from a wishlist into the cart, send ",[84,1770,90],{}," with ",[84,1773,1774],{},"source: \"wishlist\"",[103,1776,1778],{"id":1777},"sharing","Sharing",[376,1780,1781,1791],{},[379,1782,1783],{},[382,1784,1785,1787,1789],{},[385,1786,485],{},[385,1788,488],{},[385,1790,491],{},[392,1792,1793,1815,1836],{},[382,1794,1795,1800,1807],{},[397,1796,1797],{},[84,1798,1799],{},"Product Shared",[397,1801,1802,87,1804],{},[84,1803,572],{},[84,1805,1806],{},"share_via",[397,1808,589,1809,87,1812],{},[84,1810,1811],{},"recipient",[84,1813,1814],{},"share_message",[382,1816,1817,1822,1830],{},[397,1818,1819],{},[84,1820,1821],{},"Cart Shared",[397,1823,1824,87,1826,87,1828],{},[84,1825,822],{},[84,1827,112],{},[84,1829,1806],{},[397,1831,1832,87,1834],{},[84,1833,1811],{},[84,1835,1814],{},[382,1837,1838,1843,1848],{},[397,1839,1840],{},[84,1841,1842],{},"WhatsApp Clicked",[397,1844,1845],{},[84,1846,1847],{},"href",[397,1849,1850,87,1853,87,1855,87,1858,87,1861],{},[84,1851,1852],{},"target_phone",[84,1854,825],{},[84,1856,1857],{},"element_id",[84,1859,1860],{},"page_url",[84,1862,1863],{},"page_title",[77,1865,1866,1868,1869,87,1872,87,1875,87,1878,87,1881,87,1884,1886,1887,1889,1890,1892,1893,101],{},[84,1867,1806],{}," is one of ",[84,1870,1871],{},"email",[84,1873,1874],{},"whats_app",[84,1876,1877],{},"sms",[84,1879,1880],{},"social",[84,1882,1883],{},"link",[84,1885,990],{},". On ",[84,1888,1821],{},", each entry in ",[84,1891,112],{}," needs only ",[84,1894,572],{},[103,1896,1898],{"id":1897},"reviews","Reviews",[376,1900,1901,1911],{},[379,1902,1903],{},[382,1904,1905,1907,1909],{},[385,1906,485],{},[385,1908,488],{},[385,1910,491],{},[392,1912,1913],{},[382,1914,1915,1920,1930],{},[397,1916,1917],{},[84,1918,1919],{},"Product Reviewed",[397,1921,1922,87,1924,87,1927],{},[84,1923,572],{},[84,1925,1926],{},"review_id",[84,1928,1929],{},"rating",[397,1931,1932],{},[84,1933,1934],{},"review_body",[77,1936,1937,1939],{},[84,1938,1929],{}," is a whole number from 1 to 5.",[103,1941,1943],{"id":1942},"leads-and-forms","Leads and forms",[376,1945,1946,1956],{},[379,1947,1948],{},[382,1949,1950,1952,1954],{},[385,1951,485],{},[385,1953,488],{},[385,1955,491],{},[392,1957,1958,1989],{},[382,1959,1960,1965,1970],{},[397,1961,1962],{},[84,1963,1964],{},"Lead",[397,1966,1967],{},[84,1968,1969],{},"lead_source",[397,1971,1972,87,1975,87,1978,87,1981,87,1984,87,1987],{},[84,1973,1974],{},"lead_id",[84,1976,1977],{},"contact_method",[84,1979,1980],{},"form_id",[84,1982,1983],{},"status",[84,1985,1986],{},"estimated_value",[84,1988,411],{},[382,1990,1991,1996,2000],{},[397,1992,1993],{},[84,1994,1995],{},"Form Submitted",[397,1997,1998],{},[84,1999,1980],{},[397,2001,2002,87,2005,87,2008,87,2010,87,2013,87,2016],{},[84,2003,2004],{},"form_name",[84,2006,2007],{},"action",[84,2009,1983],{},[84,2011,2012],{},"fields",[84,2014,2015],{},"locale",[84,2017,2018],{},"url",[77,2020,2021,1868,2023,87,2026,87,2029,87,2031,87,2034,87,2037,87,2040,87,2043,87,2046,101],{},[84,2022,1969],{},[84,2024,2025],{},"contact_form",[84,2027,2028],{},"lead_form",[84,2030,1874],{},[84,2032,2033],{},"phone",[84,2035,2036],{},"live_chat",[84,2038,2039],{},"quote_request",[84,2041,2042],{},"callback_request",[84,2044,2045],{},"newsletter",[84,2047,990],{},[77,2049,2050,2051,2053,2054,2061],{},"Do not put a shopper's name, email or phone into ",[84,2052,1964],{}," properties. Send them through ",[2055,2056,2058],"a",{"href":2057},"\u002Fen\u002Fdocs\u002Fdevelopers\u002Ftracking#identify",[84,2059,2060],{},"identify"," instead, where they are hashed before being forwarded.",[103,2063,2065],{"id":2064},"which-events-count-as-conversions","Which events count as conversions",[77,2067,2068,2069,87,2071,87,2074,87,2077,87,2079,87,2082,87,2084,87,2087,101],{},"These are treated as conversions in reporting: ",[84,2070,96],{},[84,2072,2073],{},"Checkout Completed",[84,2075,2076],{},"Purchase",[84,2078,1964],{},[84,2080,2081],{},"Sign Up",[84,2083,1995],{},[84,2085,2086],{},"Contact",[84,2088,2089],{},"CompleteRegistration",[77,2091,2092,2093,87,2095,97,2097,2099,2100,2102,2103,2105],{},"Of those, only ",[84,2094,96],{},[84,2096,2073],{},[84,2098,2076],{}," carry revenue. A ",[84,2101,1964],{}," that happens to include a ",[84,2104,112],{}," array will never have that array summed into your revenue — which is what keeps cost-per-lead honest.",[2107,2108,2109],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":120,"searchDepth":134,"depth":134,"links":2111},[2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123],{"id":105,"depth":134,"text":106},{"id":373,"depth":134,"text":374},{"id":475,"depth":134,"text":476},{"id":725,"depth":134,"text":726},{"id":790,"depth":134,"text":791},{"id":1218,"depth":134,"text":1219},{"id":1605,"depth":134,"text":1606},{"id":978,"depth":134,"text":1705},{"id":1777,"depth":134,"text":1778},{"id":1897,"depth":134,"text":1898},{"id":1942,"depth":134,"text":1943},{"id":2064,"depth":134,"text":2065},"The thirty events Flowfy understands, and the properties each one needs.","md",{},true,{"title":61,"description":2124},"2ppvnaDOXf9KR_1w0Rx9A-C0TXMzFnkhH30Pgv8J-ks",[2131,2133],{"title":57,"path":58,"stem":59,"description":2132,"children":-1},"The SDK methods for recording what a shopper does and who they are.",{"title":65,"path":66,"stem":67,"description":2134,"children":-1},"Send events to Flowfy from a server, with no SDK involved.",1789651421823]