大网数据广告活动
网站运营与故障问答

Figure out which Instagram users click my referral link

· 52CE 我爱测

I have an external bio link on my Instagram business page, i want to detect "which" Instagram users click on link and visited my website. Is this possible by analyzing referral link or other ways? , and is this even legal?

问题原文

原帖链接 · Fredi · CC BY-SA 4.0

I have an external bio link on my Instagram business page, i want to detect "which" Instagram users click on link and visited my website.

Is this possible by analyzing referral link or other ways? , and is this even legal?

已采纳解答

原帖链接 · Grant Miller · CC BY-SA 3.0

No.

You cannot detect which users clicked on your Instagram external link.


An external Instagram link looks something like this:

https://l.instagram.com/?u=https://www.example.com/&e=ATPww3V7arueU2tZJxZn2sop0is5m0U3NkJrH05Fz0nud9ENOn38ULgxXDwDvUMwCGDzDqaNXEHn7uzk

Breaking it down, we can see that there are two GET variables in the query string of the URL:

https://l.instagram.com/
    ? u = https://www.example.com/
    & e = ATPww3V7arueU2tZJxZn2sop0is5m0U3NkJrH05Fz0nud9ENOn38ULgxXDwDvUMwCGDzDqaNXEHn7uzk

Instagram refers to this link as external_url_linkshimmed in the JSON data that can be found stored in window._sharedData (web browser).

  • The u parameter most likely stands for URL and simply stores the external URL that was added to your profile.
  • The e parameter most likely stands for external or event and stores tracking data that Instagram uses for analytics. This value always appears to be 80 characters, and it changes every time someone visits the profile. This value is probably the result of a hash function.

None of this data will allow a user to track who clicked the link, so you cannot use document.referrer (client-side) or $_SERVER['HTTP_REFERER'] (server-side) to determine the identity of another user.

If this was possible (which it is not) it would be a major privacy shortcoming of Instagram.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2018-04-04)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0 / CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。