{"id":25,"date":"2020-11-16T00:35:31","date_gmt":"2020-11-16T00:35:31","guid":{"rendered":"https:\/\/theatlass.com\/help\/?post_type=docs&#038;p=25"},"modified":"2022-02-26T15:43:58","modified_gmt":"2022-02-26T15:43:58","slug":"integrate-woocommerce","status":"publish","type":"docs","link":"https:\/\/theatlass.com\/resources\/docs\/integrate-woocommerce\/","title":{"rendered":"WooCommerce Integration"},"content":{"rendered":"\n<p>The WooCommerce integration will sync all sales as soon as they come in and our algorithm will analyze and attribute those sales to the relevant ad.<\/p>\n\n\n\n<p>Let\u2019s plug it in.<\/p>\n\n\n\n<p>First, go to the\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/theatlass.com\/app\/setup\/integrations\/\" target=\"_blank\">Integrations<\/a>\u00a0page, click on WooCommerce and then on Add New Integration.<\/p>\n\n\n\n<p>You will be prompted to add some details from your store. You can go ahead and Change the Integration name and tag and add your store&#8217;s URL, for example: <strong>https:\/\/yourdomain.com<\/strong><\/p>\n\n\n\n<p>Next, head over to your WordPress Admin, click on WooCommerce then head over to Settings. From the Settings area, click on Advanced and REST API and add a new key.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"525\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_2-1024x525.png\" alt=\"\" class=\"wp-image-135\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_2-1024x525.png 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_2-300x154.png 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_2-768x394.png 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_2.png 1088w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Add ATLASS under Description and make sure to set Read\/Write permissions and click Generate API Key.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"562\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_3-1024x562.jpg\" alt=\"\" class=\"wp-image-136\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_3-1024x562.jpg 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_3-300x165.jpg 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_3-768x422.jpg 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_3-1536x843.jpg 1536w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_3.jpg 2004w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This will generate 2 keys, the Consumer key and the Consumer secret. Copy both of them and paste them under their designated  fields in your Atlass integration and click save.<\/p>\n\n\n\n<p>You should see a success message after the integration is successful.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"618\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_5-1024x618.jpg\" alt=\"\" class=\"wp-image-137\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_5-1024x618.jpg 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_5-300x181.jpg 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_5-768x464.jpg 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_5-1536x927.jpg 1536w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_5-2048x1236.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>That should be it!<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-lazyblock-bootstrap-alert lazyblock-bootstrap-alert-Z1Xw4AB\"><div class=\"alert alert-danger \" role=\"alert\">\n    If you don\u2019t see a success message, that means the webhooks failed to be created due to some permissions issues on your server, so you will have to create them manually.\n<\/div><\/div>\n\n\n<p>Go to Webhooks, under WooCommerce -> Settings -> Advanced -> Webhooks and click on Add Webhook<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"630\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_6-1024x630.png\" alt=\"\" class=\"wp-image-138\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_6-1024x630.png 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_6-300x185.png 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_6-768x473.png 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2021\/04\/woo_6.png 1053w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Add the webhook data generated in the integration and click Save Webhook.<\/p>\n\n\n\n<p>That\u2019s it, your done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The WooCommerce integration will sync all sales as soon as they come in and our algorithm will analyze and attribute those sales to the relevant ad. Let\u2019s plug it in. First, go to the\u00a0Integrations\u00a0page, click on WooCommerce and then on Add New Integration. You will be prompted to add some details from your store. You [&hellip;]<\/p>\n","protected":false},"featured_media":0,"menu_order":5,"template":"","meta":[],"_links":{"self":[{"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/docs\/25"}],"collection":[{"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/types\/docs"}],"wp:attachment":[{"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/media?parent=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}