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