How to integrate app analytics/tracking with Ionic 2?

Hi I am looking for guidance on how to track app downloads/openings from a campaign banner for Ionic 2 apps. How different it is from a regular native app?

Thanks for any help on the subject.