Track number of installs using specific url
I have an android app, I am not going to launch that app in playstore. Now is there any way I can number of installs using a custom/specific URL. Because I want to run some advertisement campaign and for this, I want to track which ad campaign giving me maximum installs.
Please suggest me best solution Thanks