Instagram 链接贴纸重定向不会解码 URL 参数并导致 404

发布于 2025-01-10 23:43:40 字数 733 浏览 4 评论 0原文

我为 Instagram 故事创建了一个链接贴纸,并使用 UTM 参数来跟踪来源。我自定义了链接贴纸文本,使其仅包含人类可读的单词。

我收到一些用户的消息,称该链接不起作用并重定向到我网站上的 404 页面。

分析访问日志后,我注意到一些访问者使用编码的 url 参数访问该网站。

58 名访客中有 50 名正确来到: /de/example.html?utm_source=instagram&utm_medium=Social&utm_campaign=story&utm_content=example

58 名访问者中有 8 名(超过 10%!)访问者错误地访问了: /de/example.html%3Futm_source%3Dinstagram%26utm_medium%3DSocial%26utm_campaign%3Dstory%26utm_content%3Dexample

后者会导致 404 页面。

这些组之间的不同之处在于请求的引荐来源网址。

对于正确的第一组,它始终是:https://l.instagram.com/ 对于不正确的第二组,它始终是: https://www.instagram.com/

我没有看到用户代理有任何明显的差异,在不同类型的 iPhone 和 Android 手机中版本已包括在内。

还有其他人注意到这个问题或者这个问题在某处已知吗?

I created a Link Sticker for an Instagram story and used UTM parameters to track the sources. I customized the Link Sticker text to contain only a human readable word.

I got some meassages from users that the link is not working and redirects to a 404 page on my website.

After analyzing the access logs I noticed that some visitors came to the website with encoded url parameters.

50 out of 58 visitors came correctly to:
/de/example.html?utm_source=instagram&utm_medium=Social&utm_campaign=story&utm_content=example

8 out of 58 (more than 10%!) visitors came incorrectly to:
/de/example.html%3Futm_source%3Dinstagram%26utm_medium%3DSocial%26utm_campaign%3Dstory%26utm_content%3Dexample

The latter leads to the 404 Page.

What differs between those groups is the referrer of the request.

For the correct first group, it always is: https://l.instagram.com/
For the incorrect second group it always is: https://www.instagram.com/

I don't see any obvious differences in the user agent, in both groups IPhones and Android phones of different types and versions are included.

Does anyone else noticed that issue or is this issue known somewhere?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文