简体   繁体   中英

Angular check if user is coming from whatsapp

I am using Angualar6 and want to find the source from where the user is coming.

Using document.referrer I get my previous URL and can check if it is Google or Facebook but with WhatsApp document.referrer is blank.

Is there any way to get to know from which source (FB, Whatsapp, Google, etc) the user is coming to my Angular site.

你的后端可能有一个线索,但如果WhatsApp没有设置任何推荐,或者你的链接不包含指标,它是通过像Whatsapp这样的特定媒体共享的,那么就无法检测到它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM