{"id":184,"date":"2022-02-26T15:19:59","date_gmt":"2022-02-26T15:19:59","guid":{"rendered":"https:\/\/theatlass.com\/resources\/?post_type=docs&#038;p=184"},"modified":"2022-02-26T16:50:23","modified_gmt":"2022-02-26T16:50:23","slug":"shopify-integration-custom-app","status":"publish","type":"docs","link":"https:\/\/theatlass.com\/resources\/docs\/shopify-integration-custom-app\/","title":{"rendered":"Shopify Integration"},"content":{"rendered":"\n<p>The Shopify integration will sync all sales instantly and our algorithm will analyze and attribute those sales to the relevant ad.<\/p>\n\n\n\n<p>So let\u2019s plug it in.<\/p>\n\n\n\n<p>First, log into your Shopify store and go to <strong>Apps<\/strong> -&gt; <strong>develop apps<\/strong> ( from the top right hand side ) and then click on <strong>Create an app<\/strong>.<\/p>\n\n\n\n<p>Under name, type Atlass app and then hit create app. From the app page, go to <strong>Configuration<\/strong> tab, then under <strong>Admin API Integration,<\/strong> click on <strong>Configure<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"435\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/49ed6f497b3b262b83a136d282e26063-1024x435.jpeg\" alt=\"\" class=\"wp-image-187\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/49ed6f497b3b262b83a136d282e26063-1024x435.jpeg 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/49ed6f497b3b262b83a136d282e26063-300x127.jpeg 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/49ed6f497b3b262b83a136d282e26063-768x326.jpeg 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/49ed6f497b3b262b83a136d282e26063.jpeg 1062w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Add the activate the following: read_analytics, read_customers, read_orders, read_shipping, read_themes, write_themes, read_script_tags, write_script_tags. Then click save.<\/p>\n\n\n\n<p>From the <strong>API Credentials<\/strong> tab, under <strong>Access Token<\/strong>, click on Install app. An access token will be generated for the integration. This will be used to communicate between Atlass and you Shopify store.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"963\" height=\"804\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/7e075884e3a06b49fa58528161788172.jpeg\" alt=\"\" class=\"wp-image-185\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/7e075884e3a06b49fa58528161788172.jpeg 963w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/7e075884e3a06b49fa58528161788172-300x250.jpeg 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/7e075884e3a06b49fa58528161788172-768x641.jpeg 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/figure>\n\n\n\n<p>Copy the generated Access Token and the API Secret Key and head over to your Atlass account, inside<a rel=\"noreferrer noopener\" href=\"https:\/\/theatlass.com\/app\/setup\/integrations\/shopify\/new\" target=\"_blank\"> Setup -&gt; Integrations -&gt; Shopify<\/a>.<\/p>\n\n\n\n<p>Inside the integration, make sure to paste the access token and API secret key along side the store URL and click Connect. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"424\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/9cc8322eede82ab5a92d9264cc74e706-1024x424.jpeg\" alt=\"\" class=\"wp-image-186\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/9cc8322eede82ab5a92d9264cc74e706-1024x424.jpeg 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/9cc8322eede82ab5a92d9264cc74e706-300x124.jpeg 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/9cc8322eede82ab5a92d9264cc74e706-768x318.jpeg 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/9cc8322eede82ab5a92d9264cc74e706.jpeg 1132w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After the integration is done, a tracking code will be generated by the integration,<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"587\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-2-1024x587.png\" alt=\"\" class=\"wp-image-200\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-2-1024x587.png 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-2-300x172.png 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-2-768x441.png 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-2.png 1114w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Copy the script, then go to your Shopify store admin panel, click on the Online Store -> Themes, then from the Actions dropdown menu, click on Edit code<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"586\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-3-1024x586.png\" alt=\"\" class=\"wp-image-201\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-3-1024x586.png 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-3-300x172.png 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-3-768x439.png 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-3.png 1033w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click on the theme.liquid file and paste the code as high as you can inside the &lt;head>&lt;\/head> tag then click save.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"499\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-4-1024x499.png\" alt=\"\" class=\"wp-image-202\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-4-1024x499.png 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-4-300x146.png 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-4-768x375.png 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-4.png 1499w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now go to Settings -> Checkout and paste the same code inside the Additional scripts section.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"735\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-6-1024x735.png\" alt=\"\" class=\"wp-image-204\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-6-1024x735.png 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-6-300x215.png 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-6-768x551.png 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/02\/image-6.png 1254w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click save.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Shopify integration will sync all sales instantly and our algorithm will analyze and attribute those sales to the relevant ad. So let\u2019s plug it in. First, log into your Shopify store and go to Apps -&gt; develop apps ( from the top right hand side ) and then click on Create an app. Under [&hellip;]<\/p>\n","protected":false},"featured_media":0,"menu_order":6,"template":"","meta":[],"_links":{"self":[{"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/docs\/184"}],"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=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}