[{"data":1,"prerenderedAt":278},["ShallowReactive",2],{"docs-navigation-en":3,"docs-\u002Fen\u002Fdocs\u002Fshopify\u002Factivate-theme-embed":93,"docs-surround-\u002Fen\u002Fdocs\u002Fshopify\u002Factivate-theme-embed":273},[4],{"title":5,"path":6,"stem":7,"children":8,"page":92},"En","\u002Fen","en",[9],{"title":10,"path":11,"stem":12,"children":13,"page":92},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[14,22,49,68],{"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":48},"Destinations","\u002Fen\u002Fdocs\u002Fdestinations","en\u002Fdocs\u002F2.destinations\u002F1.index",[27,28,32,36,40,44],{"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",{"title":45,"path":46,"stem":47},"Google Ads","\u002Fen\u002Fdocs\u002Fdestinations\u002Fgoogle-ads","en\u002Fdocs\u002F2.destinations\u002F6.google-ads","i-lucide-share-2",{"title":50,"path":51,"stem":52,"children":53,"icon":67},"Shopify","\u002Fen\u002Fdocs\u002Fshopify","en\u002Fdocs\u002F3.shopify\u002F1.index",[54,55,59,63],{"title":50,"path":51,"stem":52},{"title":56,"path":57,"stem":58},"Install the app from the link","\u002Fen\u002Fdocs\u002Fshopify\u002Finstall-from-link","en\u002Fdocs\u002F3.shopify\u002F2.install-from-link",{"title":60,"path":61,"stem":62},"Turn on store tracking","\u002Fen\u002Fdocs\u002Fshopify\u002Factivate-theme-embed","en\u002Fdocs\u002F3.shopify\u002F3.activate-theme-embed",{"title":64,"path":65,"stem":66},"Move to the official Flowfy app","\u002Fen\u002Fdocs\u002Fshopify\u002Fmove-to-official-app","en\u002Fdocs\u002F3.shopify\u002F4.move-to-official-app","i-lucide-shopping-bag",{"title":69,"path":70,"stem":71,"children":72,"icon":91},"For developers","\u002Fen\u002Fdocs\u002Fdevelopers","en\u002Fdocs\u002F9.developers\u002F1.index",[73,75,79,83,87],{"title":74,"path":70,"stem":71},"Developer overview",{"title":76,"path":77,"stem":78},"Install the SDK","\u002Fen\u002Fdocs\u002Fdevelopers\u002Finstall","en\u002Fdocs\u002F9.developers\u002F2.install",{"title":80,"path":81,"stem":82},"Tracking","\u002Fen\u002Fdocs\u002Fdevelopers\u002Ftracking","en\u002Fdocs\u002F9.developers\u002F3.tracking",{"title":84,"path":85,"stem":86},"Event reference","\u002Fen\u002Fdocs\u002Fdevelopers\u002Fevents","en\u002Fdocs\u002F9.developers\u002F4.events",{"title":88,"path":89,"stem":90},"HTTP API","\u002Fen\u002Fdocs\u002Fdevelopers\u002Fhttp-api","en\u002Fdocs\u002F9.developers\u002F5.http-api","i-lucide-code",false,{"id":94,"title":60,"audience":95,"body":96,"description":267,"extension":268,"meta":269,"navigation":270,"path":61,"seo":271,"stem":62,"__hash__":272},"docs_en\u002Fen\u002Fdocs\u002F3.shopify\u002F3.activate-theme-embed.md","merchant",{"type":97,"value":98,"toc":254},"minimark",[99,103,108,127,130,135,138,143,147,150,199,208,212,219,223,226,230,240,246],[100,101,102],"p",{},"Tracking works from the moment you install. This step is optional and makes it more accurate: more accurate visit tracking, and better matching of orders to your ads. All you do is switch on one toggle in your theme.",[104,105,107],"h2",{"id":106},"before-you-start","Before you start",[109,110,111,124],"ul",{},[112,113,114,115,119,120,123],"li",{},"The app is installed and the connect page in Flowfy shows ",[116,117,118],"strong",{},"Connected",". If not, see ",[121,122,56],"a",{"href":57},".",[112,125,126],{},"A login to your Shopify admin that can edit themes.",[104,128,60],{"id":129},"turn-on-store-tracking",[131,132,134],"h3",{"id":133},"_1-open-the-theme-editor","1. Open the theme editor",[100,136,137],{},"Right after the install, you get an email with a one-click link. It opens the Shopify theme editor straight on the Flowfy embed.",[100,139,140,141,123],{},"You find the same button in Flowfy, both inside your Shopify admin and in the Flowfy dashboard: ",[116,142,60],{},[131,144,146],{"id":145},"_2-switch-it-on","2. Switch it on",[100,148,149],{},"In the side panel of the theme editor, check that the toggle is on. These are the names you see in Shopify:",[151,152,153,166],"table",{},[154,155,156],"thead",{},[157,158,159,163],"tr",{},[160,161,162],"th",{},"What you look for",[160,164,165],{},"Name in Shopify",[167,168,169,181,191],"tbody",{},[157,170,171,175],{},[172,173,174],"td",{},"The side panel",[172,176,177],{},[178,179,180],"code",{},"App embeds",[157,182,183,186],{},[172,184,185],{},"The toggle, admin in English",[172,187,188],{},[178,189,190],{},"Storefront tracking",[157,192,193,196],{},[172,194,195],{},"The toggle, admin in Arabic",[172,197,198],{},"تتبع المتجر",[100,200,201],{},[202,203],"img",{"alt":204,"height":205,"src":206,"width":207},"The Shopify theme editor with the Flowfy store tracking embed turned on",885,"\u002Fdocs\u002Fshopify\u002F03-app-embed-on.png",1372,[131,209,211],{"id":210},"_3-save","3. Save",[100,213,214,215,218],{},"Click ",[116,216,217],{},"Save"," at the top of the theme editor. The toggle does nothing until you save.",[104,220,222],{"id":221},"if-you-forget","If you forget",[100,224,225],{},"If no store visits arrive within an hour of the install, we remind you once, and only once.",[104,227,229],{"id":228},"if-something-goes-wrong","If something goes wrong",[100,231,232,235,236,239],{},[116,233,234],{},"The link or button does not open the theme editor."," Open the theme editor from Shopify under ",[116,237,238],{},"Online Store › Themes › Customize",", then open the side panel and switch the toggle on.",[100,241,242,245],{},[116,243,244],{},"My store uses more than one theme."," Switch it on in the theme your customers see, the one marked as live.",[100,247,248,251,252,123],{},[116,249,250],{},"I switched it on and nothing changed."," Check that you clicked ",[116,253,217],{},{"title":255,"searchDepth":256,"depth":256,"links":257},"",2,[258,259,265,266],{"id":106,"depth":256,"text":107},{"id":129,"depth":256,"text":60,"children":260},[261,263,264],{"id":133,"depth":262,"text":134},3,{"id":145,"depth":262,"text":146},{"id":210,"depth":262,"text":211},{"id":221,"depth":256,"text":222},{"id":228,"depth":256,"text":229},"An optional step for more accurate tracking. Switch on one toggle in your Shopify theme, then save.","md",{},true,{"title":60,"description":267},"B77LjGOlc_geoPbt0TuSGdL_1UUyl4OhasUQsl2MbPI",[274,276],{"title":56,"path":57,"stem":58,"description":275,"children":-1},"Open the install link and approve it. Order sync and visit tracking start right away, with no theme change.",{"title":64,"path":65,"stem":66,"description":277,"children":-1},"When the official Flowfy app is approved, install it and then remove the private app. Your data stays the same.",1793046841427]