> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.smartxaas.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Troubleshooting Tracking Integration Issues

This article is written **keeping AppsFlyer in mind** however most of the points discussed here should be similarly applicable to other tracking methods as well.

**Overview:**

1. [App must be live on app/play store with latest SDK:](#h_01EXHEQD5MC1GDRT6SANK47HD0)
2. [Make sure to test the tracking SDK integration:](#h_01EXHEQMBXRGS8N16MRFDN0M4V)
3. [Make sure to activate CPIDroid as partner & default postbacks:](#h_01EXHEQWXYP41ASNPRY6KD2HJR)
4. [Make sure Advanced Privacy is disabled:](#h_01F70MEM1TKSV5HPKP6AZQTMWY)
5. [Make sure to enable install/event postbacks:](#h_01EXHER4CVEB4E57PWV0K47XGV)
6. [Make sure the event name is configured precisely:](#h_01EXHER4CVEB4E57PWV0K47XGV2)
7. [Check & make sure the tracking link is correct:](#h_01EXHERBY655HHPSKYC51RRHBV)
8. [Make sure tracking link is redirecting to app/play store:](#h_01EXHESJZP85WSZTZF76CSJSCK)
9. [Check & make sure at least these parameters are there:](#h_01EXHESWCDN8K5T13HWJ51J21G)
10. [Trigger conversion from SDK correctly & immediately:](#h_01EXHET4NDB03M107GM18DQ5CB)
11. [Check if you are getting organic/non-organic installs:](#h_01EXHETAMHVQ4TYP0C6V44ZW8K)
12. [Check if your pricing plan is active:](#h_01EXHETG3EDZZT5Y3KZRZKSY5J)

---

# 1. App must be live on app/play store with latest SDK:****

* After integrating the Tracking SDK into your app, please don't forget to upload your latest apk or ipa file and take it live into the Play Store or App Store.

**Important:** Do NOT run campaign until your latest app is live in the Play Store or App Store.

---

# 2. Make sure to test the tracking SDK integration:****

Please note that testing the integration is highly recommend, please find below some relevant official articles:-

* Simple Manual Testing : You can simply pull the tracking link from your dashboard and click it, then it should redirect to App/Play Store, then install your app then check if conversion was captured in your appsflyer dashboard.
* Guide for Appsflyer: [https://thesmartware.zendesk.com/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EX23B9Q71SWQRY0798545AV2](/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EX23B9Q71SWQRY0798545AV2)

---

# 3. Make sure to activate CPIDroid as partner & default postbacks:

Mark sure to activate us (CPI Droid) as a partner or enable postbacks for us (CPI Droid) as per the instructions given in below article:

* Guide for Appsflyer: [https://thesmartware.zendesk.com/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EQFG4PWR5EEA5KE6DBJPA777](/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EQFG4PWR5EEA5KE6DBJPA777)

---

# 4. Make sure Advanced Privacy is disabled:

Please keep Advanced Privacy disabled (**IMPORTANT**)

* Guide for Appsflyer: [https://thesmartware.zendesk.com/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EQFG4PWR5EEA5KE6DBJPA777](/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EQFG4PWR5EEA5KE6DBJPA777)

---

# 5. Make sure to enable install/event postbacks:****

It's a very common mistake, advertiser forget to enable Install postbacks (for CPI campaign) and event postbacks (for CPA campaign)

* Guide for Appsflyer: [https://thesmartware.zendesk.com/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EQFG4WH0D5DRF2TAKPRFCQTM](/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EQFG4WH0D5DRF2TAKPRFCQTM)

---

# 6. Make sure the event name is configured precisely:

It's a very common mistake, advertiser either don't configure event name or leave it to default.

* We strongly recommend to ensure & check that the even name you provided while creating CPA campaign, exactly the same event name should be configured in your tracking system.
* Please make sure you send exactly the same event name (as provided while creating CPA campaign from your advertiser dashboard) to our event postback url.
* If event name we receive on our event postback url is not same as the event name configured in the CPA campaign then tracking will not work.

---

# 7. Check & make sure the tracking link is correct:

Always Pull Tracking nlink from your Appsflyer Dashboard only and it should look like;

* Example for iOS: [http://app.appsflyer.com/id1234567890?pid=cpidroid_int&clickid={click_id}&af_siteid={pub_id}](http://app.appsflyer.com/id1234567890?pid=cpidroid_int&clickid={click_id}&af_siteid={pub_id})
* Example for Android: [http://app.appsflyer.com/com.package.name?pid=cpidroid_int&clickid={click_id}&af_siteid={pub_id}](http://app.appsflyer.com/id1234567890?pid=cpidroid_int&clickid={click_id}&af_siteid={pub_id})

---

# 8. Make sure tracking link is redirecting to app/play store:

* Kindly very that if tracking link is actually taking users to the app/play store after clicking.
* You may use our in house Affiliate Link Tester at [https://affilitest.com/](https://affilitest.com/) to check redirections.

---

# 9. Check & make sure at least these parameters are there:

* Make sure link contains correct app id,
* pid=cpidroid_int and
* clickid={click_id}
* af_siteid={pub_id}
* af_prt=agency_int (if you have [appsflyer agency partner account](/hc/en-us/articles/115002074292-How-to-make-Installs-White-Labled-Remove-CPIDroid-Branding-#h_6ef5a82d-e752-419d-8563-02cbe336a6c4))

---

# 10. Trigger conversion from SDK correctly & immediately:

Make sure the Tracking SDK triggers installs and events from the app as per the conversion flow only.

* As for Installs, it should be triggered from SDK upon app download or open immediately.
* As for events, it should be triggered from SDK upon user completed the certain action as defined by that event.

---

# 11. Check if you are getting organic/non-organic installs:

* Kindly make sure you are getting organic installs recorded into your appsflyer dashboard, otherwise it's an indication that your SDK is not working correctly.

---

# 12. Check if your pricing plan is active:

* You may have to activate/upgrade your plan on appsflyer for mobile attribution.