# 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](/files/6gNmYGwOalfaiUqgxljX)

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

![Click on Add app to store](/files/3fgR71iOBbEOU3u8T2Zc)

Now, select the custom SDK option.

![Select Custom SDK option](/files/iMxgV3Rpeie4GBu3XQfS)

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

![Enter store name and URL](/files/YiNbJZ6235bdizPUwOeV)

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

![Click on Integration Steps](/files/vUxuKe9hTDWBiGEaLHFa)

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="/files/nWt6H6wu3ACkpIPaRXmP" 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="/files/ArRdBVZlUxQgKzishIse" 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](/files/cxI7e3GERVBKA4B3TvB7)

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.goaffpro.com/how-tos/manual-integration/custom-sdk-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
