> ## 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

[Open in Zendesk](https://smartxaas.zendesk.com/hc/en-us/articles/360035387592) | 
---
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.**<span class="wysiwyg-underline">Overview:</span>**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)

<span class="wysiwyg-underline">1. App must be live on app/play store with latest SDK:</span>**<span class="wysiwyg-underline">
</span>**-----------------------------------------------------------------------------------------------------------------------------------------

- 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.

<span class="wysiwyg-color-red">**Important:**</span> Do NOT run campaign until your latest app is live in the Play Store or App Store.

<span class="wysiwyg-underline">2. Make sure to test the tracking SDK integration:</span>**<span class="wysiwyg-underline">
</span>**-------------------------------------------------------------------------------------------------------------------------------------

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](https://smartxaas.zendesk.com/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EX23B9Q71SWQRY0798545AV2)

<span class="wysiwyg-underline">3. Make sure to activate CPIDroid as partner & default postbacks:</span>
------------------------------------------------------------------------------------------------------------

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](https://smartxaas.zendesk.com/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EQFG4PWR5EEA5KE6DBJPA777)

<span class="wysiwyg-underline">4. Make sure Advanced Privacy is disabled:</span>
---------------------------------------------------------------------------------

<span class="wysiwyg-color-red">Please keep Advanced Privacy disabled (**IMPORTANT**)</span>

- Guide for Appsflyer: <span class="wysiwyg-color-red">[https://thesmartware.zendesk.com/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h\_01EQFG4PWR5EEA5KE6DBJPA777](https://smartxaas.zendesk.com/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EQFG4PWR5EEA5KE6DBJPA777)</span>

<span class="wysiwyg-underline">5. Make sure to enable install/event postbacks:
</span>
---------------------------------------------------------------------------------------

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](https://smartxaas.zendesk.com/hc/en-us/articles/115002632051-Getting-Started-with-Appsflyer-Tracking-SDK#h_01EQFG4WH0D5DRF2TAKPRFCQTM)

<span class="wysiwyg-underline">6. Make sure the event name is configured precisely:</span>
-------------------------------------------------------------------------------------------

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.

<span class="wysiwyg-underline">7. Check & make sure the tracking link is correct:</span>
---------------------------------------------------------------------------------------------

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})

<span class="wysiwyg-underline">8. Make sure tracking link is redirecting to app/play store:</span>
---------------------------------------------------------------------------------------------------

- 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/> to check redirections.

<span class="wysiwyg-underline">9. Check & make sure at least these parameters are there:</span>
----------------------------------------------------------------------------------------------------

- 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](https://smartxaas.zendesk.com/hc/en-us/articles/115002074292-How-to-make-Installs-White-Labled-Remove-CPIDroid-Branding-#h_6ef5a82d-e752-419d-8563-02cbe336a6c4))

<span class="wysiwyg-underline">10. Trigger conversion from SDK correctly & immediately:</span>
---------------------------------------------------------------------------------------------------

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.

<span class="wysiwyg-underline">11. Check if you are getting organic/non-organic installs:</span>
-------------------------------------------------------------------------------------------------

- 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.

<span class="wysiwyg-underline">12. Check if your pricing plan is active:</span>
--------------------------------------------------------------------------------

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