How to know the website load from RocketWeb not form browser?

Hello After buy from codecanyon everything was working fine now I want to know is the app load from app or from the browser.

From the app, we push cookies on your website with key “DEVICE“. So read the cookies from your website if you found the value then it’s will be load from the app. On android, the value will be “Android” and on iOS, the value will be “ios”

Cookies for android: DEVICE=Android

Cookies for iOS: DEVICE=ios

Tips:
Read cookies on PHP: https://www.w3schools.com/php/php_cookies.asp
Read cookies on JavaScript: https://www.w3schools.com/js/js_cookies.asp

2 thoughts on “How to know the website load from RocketWeb not form browser?

  1. AS111 says:

    Example: If my app has a external link abc.com. When Imran visit my app and click on abc.com and visit it on mobile browser then the owner of abc.com knows what? Imran is visiting abc.com from My App(app name) or My website?

Leave a Reply