PageSourceSearch

https://www.goaffpro.app/assets/InstallersIndex-H123o2qb.js

js goaffpro.app collected 2026-10-04 14:37:53 UTC 4,546 bytes, 1 lines download raw bytes

1import{j as e,ax as f,r,g as v,aw as z,L as w,ay as p,az as a,cp as d,cq as y,cr as m,cs as N,ct as k,cu as I,cv as S,cw as q,cx as A,cy as x,cz as C,cA as U,cB as L}from"./index-lEmP1PRk.js";const R="amzn1.application-oa2-client.6bd39692cc3f4adf800f215ccf55c6ec",h={na:"https://www.amazon.com/ap/oa",eu:"https://eu.account.amazon.com/ap/oa"};function j(t){const s=new URLSearchParams;return s.set("client_id",R),s.set("scope","advertising::test:create_account advertising::campaign_management profile"),s.set("response_type","code"),s.set("redirect_uri","https://app.goaffpro.com/install/amazon/callback?region=".concat(t)),s.toString()}function _(t){const s="".concat(h.na,"?").concat(j("na")),c="".concat(h.eu,"?").concat(j("eu"));return e.jsx("div",{className:"bg-light-subtle min-vh-100",children:e.jsx("div",{className:"container py-4",children:e.jsxs("div",{className:"row",children:[e.jsx("div",{className:"col-md-3"}),e.jsxs("div",{className:"col-md-6",children:[e.jsx("div",{className:"text-center mb-2 mt-2",children:e.jsx("img",{src:"/images/platform-logos/amazon-2.svg",style:{height:64}})}),e.jsx("div",{className:"card",children:e.jsxs("div",{className:"card-body",children:[e.jsx("p",{children:"Amazon Attribution is currently available in beta to professional seller brand owners enrolled in Amazon Brand Registry and vendors that sell products on Amazon in the following markets: US, Canada, Mexico, UK, Germany, France, Italy, Spain, and Netherlands."}),e.jsxs("a",{href:s,children:["Connect with amazon ",e.jsx("br",{}),e.jsx("small",{children:"(for US, Canada, Mexico merchants)"})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsxs("a",{href:c,children:["Connect with amazon ",e.jsx("br",{}),e.jsx("small",{children:"(for UK, Germany, France, Italy, Spain, and Netherlands)"})]})]})})]})]})})})}function F(t){const s=new URL(document.location.href).searchParams,c=f(),l=s.get("code");s.get("scope");const i=s.get("region"),[n,u]=r.useState(null),[g,o]=r.useState(!1);return l||c("/install/amazon",{replace:!0}),r.useEffect(()=>{l&&i&&(o(!0),v().post("/integrations/amazon/install/callback",{code:l,region:i}).then(({data:b})=>{o(!1),u(b)}))},[l]),e.jsx("div",{className:"bg-light-subtle min-vh-100",children:e.jsx("div",{className:"container py-4",children:e.jsxs("div",{className:"row",children:[e.jsx("div",{className:"col-md-3"}),e.jsxs("div",{className:"col-md-6",children:[e.jsx("div",{className:"text-center mb-2 mt-2",children:e.jsx("img",{src:"/images/platform-logos/amazon-2.svg",style:{height:64}})}),e.jsx("div",{className:"card",children:e.jsxs("div",{className:"card-body",children:[g?e.jsx("div",{className:"text-center",children:e.jsx(z,{})}):null,n!=null&&n.error?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:["Unable to connect: ",n.error]}),e.jsx(w,{to:"/install/amazon",children:"Try again"})]}):null,n!=null&&n.success?e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"Your amazon brand account is now connected with the system"}),e.jsx("p",{children:"Few things to keep in mind"}),e.jsxs("ol",{children:[e.jsxs("li",{children:["The attribution reports are not in real-time. The clicks may take upto 24 hours and conversions may take upto 48 hours. ",e.jsx("a",{href:"https://advertising.amazon.com/API/docs/en-us/guides/amazon-attribution/how-to",children:"[More info here]"})]}),e.jsx("li",{children:"The attribution data is used as is provided by amazon."})]}),e.jsx("a",{href:"/",children:"Go to dashboard"})]}):null]})})]})]})})})}function E(t){return e.jsxs(p,{children:[e.jsx(a,{index:!0,element:e.jsx(_,{})}),e.jsx(a,{path:"callback",element:e.jsx(F,{})})]})}function H(){return e.jsxs(p,{children:[e.jsx(a,{path:"/squarespace/callback",element:e.jsx(d,{})}),e.jsx(a,{path:"/squarespace/save_keys",element:e.jsx(y,{})}),e.jsx(a,{path:"/squarespace",element:e.jsx(d,{})}),e.jsx(a,{path:"/wix/install",element:e.jsx(m,{})}),e.jsx(a,{path:"/wix/callback",element:e.jsx(N,{})}),e.jsx(a,{path:"/wix",element:e.jsx(m,{})}),e.jsx(a,{path:"/webflow/*",element:e.jsx(k,{})}),e.jsx(a,{path:"/square/callback",element:e.jsx(I,{})}),e.jsx(a,{path:"/square",element:e.jsx(S,{})}),e.jsx(a,{path:"/shopwired",element:e.jsx(q,{})}),e.jsx(a,{path:"/easystore/install",element:e.jsx(A,{})}),e.jsx(a,{path:"/ecwid/callback",element:e.jsx(x,{})}),e.jsx(a,{path:"/ecwid",element:e.jsx(x,{})}),e.jsx(a,{path:"/commercehq",element:e.jsx(C,{})}),e.jsx(a,{path:"/shoplazza",element:e.jsx(U,{})}),e.jsx(a,{path:"/shoplazza/callback",element:e.jsx(L,{})}),e.jsx(a,{path:"/amazon/*",element:e.jsx(E,{})})]})}export{H as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.