How to check user is visit in app via deeplinking or not in ionic2?

Hello to all,
I have implemented the deeplinking in our app successfully but after close the app and again app opne via we have to check user is app open via URL(deeplinking) or not it is possible to check in ionic2?