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