[{"data":1,"prerenderedAt":374},["ShallowReactive",2],{"docs-navigation-en":3,"docs-\u002Fen\u002Fdocs\u002Fdestinations\u002Ftiktok":66,"docs-surround-\u002Fen\u002Fdocs\u002Fdestinations\u002Ftiktok":369},[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":33,"audience":68,"body":69,"description":363,"extension":364,"meta":365,"navigation":366,"path":34,"seo":367,"stem":35,"__hash__":368},"docs_en\u002Fen\u002Fdocs\u002F2.destinations\u002F3.tiktok.md","merchant",{"type":70,"value":71,"toc":343},"minimark",[72,76,82,87,113,123,134,138,143,153,157,164,173,177,191,195,210,216,220,224,232,240,244,250,254,257,263,267,279,285,289,296,302,309,313,319,325,331,337],[73,74,75],"p",{},"Connecting TikTok lets Flowfy send every purchase, add-to-cart and page view from your store straight to TikTok's servers, so TikTok can credit sales to the ads that produced them even when the browser pixel never fires.",[77,78],"docs-video-card",{"href":79,"label":80,"poster":81},"https:\u002F\u002Fyoutu.be\u002FVk3obpdiFsI","Watch the TikTok setup walkthrough","\u002Fdocs\u002Fdestinations\u002Ftiktok\u002Fvideo-poster.jpg",[83,84,86],"h2",{"id":85},"before-you-start","Before you start",[88,89,90,99,106],"ul",{},[91,92,93,94,98],"li",{},"Access to your ",[95,96,97],"strong",{},"TikTok Ads Manager"," account",[91,100,101,102,105],{},"Enough rights at ",[95,103,104],{},"Business Center"," level to create a token. If the button appears to do nothing, this is why.",[91,107,108,109,112],{},"A Flowfy source already connected. If you have not done that, start with ",[110,111,15],"a",{"href":16},".",[73,114,115,116,119,120,112],{},"You will end up with two values: a ",[95,117,118],{},"Pixel Code"," and an ",[95,121,122],{},"Access Token",[124,125,127],"callout",{"icon":126},"i-lucide-triangle-alert",[73,128,129,130,133],{},"TikTok shows the access token ",[95,131,132],{},"once",". Refresh the page and it is gone for good, and you would have to generate a new one. Paste it into Flowfy before you leave that page.",[83,135,137],{"id":136},"part-1-get-your-credentials-from-tiktok","Part 1 · Get your credentials from TikTok",[139,140,142],"h3",{"id":141},"_1-open-events-manager","1. Open Events Manager",[73,144,145,146,149,150,112],{},"In TikTok Ads Manager, open ",[95,147,148],{},"Tools"," and choose ",[95,151,152],{},"Events",[139,154,156],{"id":155},"_2-select-your-web-data-source-and-open-settings","2. Select your web data source and open Settings",[73,158,159,160,163],{},"Choose the pixel your store already uses, then open its ",[95,161,162],{},"Settings"," tab. Use the same pixel your website already reports to — server events and browser events belong on one pixel, so TikTok can recognise them as a single sale rather than two.",[73,165,166],{},[167,168],"img",{"alt":169,"height":170,"src":171,"width":172},"The TikTok web data source with the Settings tab selected, next to Overview, Test Events, Diagnostics and Change Log",1858,"\u002Fdocs\u002Fdestinations\u002Ftiktok\u002F02-pixel-settings.png",2570,[139,174,176],{"id":175},"_3-copy-the-pixel-code","3. Copy the Pixel Code",[73,178,179,182,183,187,188,190],{},[95,180,181],{},"Pixel Details"," at the top of this Settings page shows the identifier. TikTok's screens call it ",[184,185,186],"em",{},"Pixel ID","; Flowfy's field is called ",[95,189,118],{},". It is one value with two names.",[139,192,194],{"id":193},"_4-generate-the-access-token","4. Generate the access token",[73,196,197,198,201,202,205,206,209],{},"Still on Settings, scroll to ",[95,199,200],{},"Events API"," and click ",[95,203,204],{},"Generate Access Token"," under ",[184,207,208],{},"Access Token Generation",". Copy it immediately — TikTok's own note says the token will not be stored by TikTok.",[73,211,212],{},[167,213],{"alt":214,"height":170,"src":215,"width":172},"The Events API section of TikTok settings with the Generate Access Token button and the one-time token box","\u002Fdocs\u002Fdestinations\u002Ftiktok\u002F03-generate-access-token.png",[83,217,219],{"id":218},"part-2-create-the-destination-in-flowfy","Part 2 · Create the destination in Flowfy",[139,221,223],{"id":222},"_1-start-a-new-destination","1. Start a new destination",[73,225,226,227,201,229,112],{},"In Flowfy, open ",[95,228,23],{},[95,230,231],{},"Create destination",[73,233,234],{},[167,235],{"alt":236,"height":237,"src":238,"width":239},"The Flowfy destinations page with the create destination button",675,"\u002Fdocs\u002Fdestinations\u002Fflowfy\u002F01-create-destination.png",1568,[139,241,243],{"id":242},"_2-choose-tiktok","2. Choose TikTok",[73,245,246],{},[167,247],{"alt":248,"height":237,"src":249,"width":239},"The Flowfy platform picker showing the advertising destinations","\u002Fdocs\u002Fdestinations\u002Fflowfy\u002F02-pick-platform.png",[139,251,253],{"id":252},"_3-connect-your-store","3. Connect your store",[73,255,256],{},"Tick the source whose events should flow to TikTok, then continue.",[73,258,259],{},[167,260],{"alt":261,"height":237,"src":262,"width":239},"The Flowfy source selection step with a store selected","\u002Fdocs\u002Fdestinations\u002Fflowfy\u002F04-connect-source.png",[139,264,266],{"id":265},"_4-name-it-and-paste-both-values","4. Name it and paste both values",[73,268,269,270,272,273,275,276,112],{},"Give the destination a name you will recognise later, put the identifier from step 3 into ",[95,271,118],{},", and the token from step 4 into ",[95,274,122],{},". Then click ",[95,277,278],{},"Create",[73,280,281],{},[167,282],{"alt":283,"height":237,"src":284,"width":239},"The Flowfy destination setup step with the name and credential fields filled in","\u002Fdocs\u002Fdestinations\u002Fflowfy\u002F03-paste-credentials.png",[83,286,288],{"id":287},"part-3-check-that-its-working","Part 3 · Check that it's working",[73,290,291,292,295],{},"Place a test order, then open the destination in Flowfy and watch ",[95,293,294],{},"Live events",". The order should appear within seconds.",[73,297,298],{},[167,299],{"alt":300,"height":237,"src":301,"width":239},"The Flowfy live events view with events arriving","\u002Fdocs\u002Fdestinations\u002Fflowfy\u002F05-live-events.png",[73,303,304,305,308],{},"On TikTok's side, open Events Manager and check the ",[95,306,307],{},"Diagnostics"," tab for the same data source. It reports what TikTok received and flags anything malformed.",[83,310,312],{"id":311},"if-something-goes-wrong","If something goes wrong",[73,314,315,318],{},[95,316,317],{},"Nothing arrives in Flowfy's live events."," The problem is between your store and Flowfy. Check that your source is connected and active.",[73,320,321,324],{},[95,322,323],{},"Generate Access Token does nothing."," Your Business Center role is not permitted to create tokens. Ask an administrator to generate one and send it to you.",[73,326,327,330],{},[95,328,329],{},"You lost the token before pasting it."," It cannot be recovered. Generate a new one and update the destination in Flowfy — the old one stops working the moment you replace it.",[73,332,333,336],{},[95,334,335],{},"TikTok reports no server events."," The Pixel Code belongs to a different data source than the one you are looking at. Re-copy it from the pixel you expect the events on.",[73,338,339,342],{},[95,340,341],{},"Sales are counted twice."," Your browser pixel and Flowfy are on different pixels. Both must use the same Pixel Code for TikTok to recognise the two reports as one sale.",{"title":344,"searchDepth":345,"depth":345,"links":346},"",2,[347,348,355,361,362],{"id":85,"depth":345,"text":86},{"id":136,"depth":345,"text":137,"children":349},[350,352,353,354],{"id":141,"depth":351,"text":142},3,{"id":155,"depth":351,"text":156},{"id":175,"depth":351,"text":176},{"id":193,"depth":351,"text":194},{"id":218,"depth":345,"text":219,"children":356},[357,358,359,360],{"id":222,"depth":351,"text":223},{"id":242,"depth":351,"text":243},{"id":252,"depth":351,"text":253},{"id":265,"depth":351,"text":266},{"id":287,"depth":345,"text":288},{"id":311,"depth":345,"text":312},"Send your store's events to TikTok ads through the TikTok Events API.","md",{},true,{"title":33,"description":363},"4QIz7OqkM0hZgVFynN1NNuNHxpFTHEbE0LHpMDsA2vI",[370,372],{"title":29,"path":30,"stem":31,"description":371,"children":-1},"Send your store's events to Facebook and Instagram ads through the Meta Conversions API.",{"title":37,"path":38,"stem":39,"description":373,"children":-1},"Send your store's events to Snapchat ads through the Snapchat Conversions API.",1787611840806]