# Custom SDK Integration

#### Integrate GoAffPro with your custom store:&#x20;

Create a GoAffPro merchant account: [Signup Link](https://goaffpro.com/signup?redirect=/merchant)

{% hint style="info" %}
If you already have an account, you can [login](https://goaffpro.com/login?redirect=/merchant).
{% endhint %}

![Signup Page](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FCIgUBOTcEbFrcrSxKNMO%2Fimage.png?alt=media\&token=e8f2bf2c-1796-4b3e-b7ad-5899d467d508)

Here, click on **Add app to store**.

![Click on Add app to store](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FbpGkYR9Wz1MNqsIArpgp%2FScreenshot%202022-02-12%20044704.png?alt=media\&token=abcb9c1c-688f-47f0-b3b1-c5ffa410779e)

Now, select the custom SDK option.

![Select Custom SDK option](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FDiRvqBwo77rA0dCuJmCQ%2FScreenshot%202022-02-12%20050142.png?alt=media\&token=2b84aba8-c9a5-4e37-91f3-e8a6a4b77e8c)

Next, enter the store name, store URL, and click on **Submit**.

![Enter store name and URL](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fqf8ylp1ENoisNnksJmQc%2Fimage.png?alt=media\&token=4cd6e3f6-5a5e-4c93-856f-2b590d2aa580)

After this, click on **Integration steps**.

![Click on Integration Steps](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F0GEKdUsEe7kj47KXAfHt%2FScreenshot%202022-02-12%20053746.png?alt=media\&token=9cc22da4-6fda-4212-8160-4315bff14dad)

Here, add the general tracking code in the header section before the closing \</head> tag.

{% hint style="info" %}
This is usually pasted in the theme's layout file.&#x20;
{% endhint %}

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FvsYPoiTa70feovOS5tSJ%2Fimage.png?alt=media&#x26;token=d5e73cca-3a46-4099-95bd-46fae0cdba84" alt=""><figcaption><p>Add general tracking code</p></figcaption></figure>

Now, add the conversion tracking code to the conversion page or the "thank you" page.

{% hint style="info" %}
Please ensure that the goaffproOrder object in the conversion tracking code has the actual order data of the customer.
{% endhint %}

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FFi2G9PfP1VDlLxZElOXy%2Fimage.png?alt=media&#x26;token=9470fe28-401c-438f-ba77-23951071aff1" alt=""><figcaption><p>Add conversion tracking code</p></figcaption></figure>

Finally, click on **Get Started**.&#x20;

{% hint style="info" %}
This will open up the setup wizard for the program.&#x20;
{% endhint %}

![Click on Get Started](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FyhJwQujqjeqzjkveIWib%2FScreenshot%202022-02-12%20060558.png?alt=media\&token=f74cb552-2d1b-434f-b9d2-814dccd606b7)

{% hint style="info" %}
You can also look into the advanced integration guide: [Link](https://github.com/anujtenani/goaffpro/wiki/Custom-Integration-advanced-guide)
{% endhint %}
