{"id":1199,"date":"2023-11-14T16:11:27","date_gmt":"2023-11-14T16:11:27","guid":{"rendered":"https:\/\/theoptimizer.io\/help\/?post_type=ht_kb&#038;p=1199"},"modified":"2024-06-11T10:45:49","modified_gmt":"2024-06-11T10:45:49","slug":"how-to-connect-facebook-to-system1","status":"publish","type":"ht_kb","link":"https:\/\/theoptimizer.io\/help\/knowledge-base\/how-to-connect-facebook-to-system1\/","title":{"rendered":"How to connect Facebook to System1"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to connect System1 to Facebook?\" width=\"643\" height=\"362\" src=\"https:\/\/www.youtube.com\/embed\/mv1JlCHStXo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\ud83d\udca1<strong>NOTE<\/strong>: If you have connected System1 to a tracker like ClickFlare,  and using ClickFlare with TheOptimizer then you do not need to connect System1 as well. TheOptimizer will pull the data from your tracker (ClickFlare), including revenue and conversions as reported by System1.<\/p>\n\n\n\n<p><strong>Step 1:<\/strong> On Account Wizard, select the Facebook ad accounts you want to connect to System1, then click on <strong>Next<\/strong>.&nbsp;<\/p>\n\n\n\n<p><strong>Step 2:<\/strong> In the second step of the Account Wizard, click on <strong>Add New<\/strong> to start connecting your System1 account.<\/p>\n\n\n\n<p><strong>Step 3:<\/strong> On the pop-up integration screen, click on the Select Tracking Platform drop-down list and select System1. Here, you will need to fill in some information. <\/p>\n\n\n\n<p>\ud83d\udca1<strong>NOTE<\/strong>: please contact your System1 account manager to get your account API key. Once you have obtained your account API key, paste it in the API Key field in TheOptimizer integration screen.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"977\" height=\"880\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P1.png\" alt=\"How to connect System1 on TheOptimizer P1\" class=\"wp-image-1200\" style=\"width:500px\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P1.png 977w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P1-300x270.png 300w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P1-768x692.png 768w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P1-50x45.png 50w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P1-60x54.png 60w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P1-100x90.png 100w\" sizes=\"auto, (max-width: 977px) 100vw, 977px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>Step 4:<\/strong> After you have placed the <strong>API Key<\/strong> from System1 and <strong>Saved<\/strong> the information, you will need to specify which System1 subids you are using to pass traffic source macros back to System1. Because System1 has only 2 subids available (sub_id and sub_id2), while a traffic source might have more than 2 tokens to map, it is not possible to map each traffic source token on a different System1 subid. For this reason, for System1, a <strong>custom tracking<\/strong> setup is being used. Using the Custom Tracking it is possible to pass all traffic source tokens, concatenated with \u201c|\u201d, in a single System1 subid (like in the screenshot below):&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"470\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P2-1024x470.png\" alt=\"How to connect System1 on TheOptimizer P2\n\" class=\"wp-image-1201\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P2-1024x470.png 1024w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P2-300x138.png 300w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P2-768x352.png 768w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P2-50x23.png 50w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P2-1536x705.png 1536w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P2-2048x940.png 2048w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P2-60x28.png 60w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-System1-to-The-Optimizer-Facebook-P2-100x46.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>In this case the tracking code that you need to add in your campaigns needs to be exactly in the same format:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sub_id={{campaign.id}}|{{adset.id}}|{{ad.id}}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Next step: Automate your Facebook campaigns <\/h2>\n\n\n\n<p>Click <a href=\"https:\/\/theoptimizer.io\/help\/article-categories\/how-to-set-up-automation-rules-for-facebook-with-examples\/\"><span style=\"text-decoration: underline;\">here<\/span><\/a> to see all available Facebook automations with examples. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a step-by-step guide on how to connect System1 directly to TheOptimizer to automate your Facebook campaigns. <\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[38],"ht-kb-tag":[],"class_list":["post-1199","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-3-how-to-connect-facebook-to-an-external-revenue-stream"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/1199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/comments?post=1199"}],"version-history":[{"count":4,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/1199\/revisions"}],"predecessor-version":[{"id":2143,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/1199\/revisions\/2143"}],"wp:attachment":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/media?parent=1199"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb-category?post=1199"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb-tag?post=1199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}