{"id":1191,"date":"2023-11-14T16:03:08","date_gmt":"2023-11-14T16:03:08","guid":{"rendered":"https:\/\/theoptimizer.io\/help\/?post_type=ht_kb&#038;p=1191"},"modified":"2024-10-09T23:48:02","modified_gmt":"2024-10-09T23:48:02","slug":"how-to-connect-facebook-to-sedo","status":"publish","type":"ht_kb","link":"https:\/\/theoptimizer.io\/help\/knowledge-base\/how-to-connect-facebook-to-sedo\/","title":{"rendered":"How to connect Facebook to Sedo?"},"content":{"rendered":"\n<div class=\"wp-block-presto-player-reusable-edit\"><!--presto-player:video_id=8--><figure class=\"wp-block-video presto-block-video  presto-provider-youtube\" style=\"--plyr-color-main: var(--presto-player-highlight-color, #00b3ff); --presto-player-logo-width: 150px; \">\n    <presto-player  id=\"presto-player-1\" src=\"\/\/www.youtube.com\/embed\/D52lOud8T3w?iv_load_policy=3&amp;modestbranding=1&amp;playinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1\" media-title=\"How to connect Sedo to Facebook?\" css=\"\" class=\"presto-video-id-8 presto-preset-id-5 skin-modern\" skin=\"modern\" icon-url=\"https:\/\/theoptimizer.io\/help\/wp-content\/plugins\/presto-player\/img\/sprite.svg\" preload=\"\" poster=\"\" playsinline  >\n        \n\n    <\/presto-player>\n<\/figure>\t\t<script>\n\t\t\tvar player = document.querySelector('presto-player#presto-player-1');\n\t\t\tplayer.video_id = 8;\n\t\t\t\t\t\t\t\t\t\t\t\tplayer.preset = {\"id\":5,\"name\":\"Youtube Optimized\",\"slug\":\"youtube\",\"icon\":\"youtube\",\"skin\":\"modern\",\"play-large\":true,\"rewind\":true,\"play\":true,\"fast-forward\":true,\"progress\":true,\"current-time\":true,\"mute\":true,\"volume\":true,\"speed\":true,\"pip\":false,\"fullscreen\":true,\"captions\":false,\"reset_on_end\":true,\"auto_hide\":true,\"captions_enabled\":false,\"save_player_position\":false,\"sticky_scroll\":false,\"sticky_scroll_position\":\"bottom right\",\"on_video_end\":\"select\",\"play_video_viewport\":false,\"hide_youtube\":false,\"lazy_load_youtube\":true,\"hide_logo\":false,\"border_radius\":0,\"caption_style\":\"\",\"caption_background\":\"\",\"is_locked\":true,\"cta\":[\"\"],\"watermark\":[\"\"],\"search\":[\"\"],\"email_collection\":[\"\"],\"action_bar\":{\"enabled\":true,\"percentage_start\":0,\"text\":\"Subscribe To Our YouTube Channel\",\"background_color\":\"#1d1d1d\",\"button_type\":\"youtube\",\"button_count\":false},\"created_by\":1,\"created_at\":\"2023-04-25 14:24:23\",\"updated_at\":\"2023-04-25 14:24:23\",\"deleted_at\":\"\",\"show_time_elapsed\":false};\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.chapters = [];\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.overlays = [];\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.tracks = [];\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.branding = {\"logo\":\"\",\"color\":\"#00b3ff\",\"logo_width\":150,\"player_css\":\"\"};\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.blockAttributes = {\"playsInline\":true,\"id\":8,\"src\":\"https:\\\/\\\/www.youtube.com\\\/watch?v=D52lOud8T3w&ab_channel=theoptimizer.io\",\"preset\":5,\"video_id\":\"D52lOud8T3w\",\"visibility\":\"public\",\"color\":\"#00b3ff\",\"mutedPreview\":{\"enabled\":false,\"captions\":false},\"mutedOverlay\":{\"enabled\":false,\"src\":\"\",\"width\":200,\"focalPoint\":{\"x\":0.5,\"y\":0.5}},\"mutedOverlayType\":\"text\",\"mutedOverlayText\":\"Click to play\",\"mutedOverlayImageWidth\":200,\"chapters\":[],\"overlays\":[],\"tracks\":[],\"title\":\"How to connect Sedo to Facebook?\"};\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.skin = \"modern\";\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.analytics = false;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.automations = true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.provider = \"youtube\";\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.video_id = 8;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.provider_video_id = \"D52lOud8T3w\";\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplayer.youtube = {\"noCookie\":false,\"channelId\":\"https:\\\/\\\/www.youtube.com\\\/@theoptimizerio\",\"show_count\":false};\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t<\/div>\n\r\n\r\n<p>\ud83d\udca1<strong>NOTE<\/strong>: If you have connected Sedo 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 Sedo.<\/p>\r\n\r\n\r\n\r\n<p><strong>Step 1:<\/strong> On Account Wizard, select the Facebook ad accounts you want to connect to Sedo, then click on <strong>Next<\/strong>.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Step 2:<\/strong> In the second step of the Account Wizard, click on <strong>Add New<\/strong> to start connecting your Sedo account.<\/p>\r\n\r\n\r\n\r\n<p><strong>Step 3:<\/strong> On the pop-up integration screen, click on the Select Tracking Platform drop-down list and select Sedo. Here, you will need to fill in some information.<\/p>\r\n\r\n\r\n\r\n<p>\ud83d\udca1<strong>NOTE<\/strong>: You can find your PartnerID and Signkey by contacting Sedo support (or your Sedo account manager).\u00a0<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2286\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P1-729x1024.webp\" alt=\"\" width=\"374\" height=\"525\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P1-729x1024.webp 729w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P1-213x300.webp 213w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P1-768x1079.webp 768w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P1-36x50.webp 36w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P1-43x60.webp 43w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P1-71x100.webp 71w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P1.webp 957w\" sizes=\"auto, (max-width: 374px) 100vw, 374px\" \/><\/p>\r\n\r\n\r\n\r\n\r\n\r\n<p><strong>Step 4: <\/strong>After you have selected an account nickname, added your username &amp; password, and placed the <strong>PartnerID<\/strong> &amp; <strong>Signkey <\/strong>from Sedo and <strong>Saved<\/strong> the information, you will need to specify which Sedo subids you are using to pass traffic source macros back to Sedo.One possible configuration is shown in the screenshot below:<\/p>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2288\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P2-2048x1073-1-1024x537.webp\" alt=\"\" width=\"643\" height=\"337\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P2-2048x1073-1-1024x537.webp 1024w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P2-2048x1073-1-300x157.webp 300w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P2-2048x1073-1-768x402.webp 768w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P2-2048x1073-1-50x26.webp 50w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P2-2048x1073-1-1536x805.webp 1536w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P2-2048x1073-1-60x31.webp 60w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P2-2048x1073-1-100x52.webp 100w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P2-2048x1073-1.webp 2048w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<p><strong>Step 5:<\/strong> Now, you need to make sure that this tracking code is present in your campaigns on Facebook:\u00a0<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">sub1={{campaign.id}}&amp;sub2={{adset.id}}&amp;sub3={{ad.id}}<\/pre>\r\n\r\n\r\n\r\n<p><strong>\ud83d\udca1NOTE<\/strong>: Make sure all the traffic source macros are used in your configuration. In case one of the required traffic source macros is missing in your Tonic mapping configuration, or in your campaign tracking code, the data from Tonic for that macro will be missing in TheOptimizer. For example, if you are not using {{ad.id}} macro, there will not be Tonic data for Facebook ads in TheOptimizer.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">When to use custom tracking?<\/h2>\r\n\r\n\r\n\r\n<p>If for some reason you do not have all the Sedo subids available (because you are already using some of them for other purposes), but you have only a couple of them, you can enable and use our custom tracking option.\u00a0<\/p>\r\n\r\n\r\n\r\n<p>Using the Custom Tracking option, you are able to pass more than one traffic source macro on a single Sedo subid, using a special format. For example, you can pass all Facebook macros on sub1:\u00a0<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2289\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P3-2048x1084-1-1024x542.webp\" alt=\"\" width=\"643\" height=\"340\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P3-2048x1084-1-1024x542.webp 1024w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P3-2048x1084-1-300x159.webp 300w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P3-2048x1084-1-768x407.webp 768w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P3-2048x1084-1-50x26.webp 50w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P3-2048x1084-1-1536x813.webp 1536w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P3-2048x1084-1-60x32.webp 60w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P3-2048x1084-1-100x53.webp 100w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/11\/How-to-connect-Sedo-to-The-Optimizer-Facebook-P3-2048x1084-1.webp 2048w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\r\n\r\n\r\n\r\n\r\n\r\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>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">sub1={{campaign.id}}|{{adset.id}}|{{ad.id}}<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">Next step: Automate your Facebook campaigns<\/h2>\r\n\r\n\r\n\r\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 learn more about Facebook automation rules.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>This is a step-by-step guide on how to connect Sedo on TheOptimizer for 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-1191","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\/1191","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=1191"}],"version-history":[{"count":7,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/1191\/revisions"}],"predecessor-version":[{"id":2290,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/1191\/revisions\/2290"}],"wp:attachment":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/media?parent=1191"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb-category?post=1191"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb-tag?post=1191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}