V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
flingjie

分享一个 二维码扫描分析工具

  •  
  •   flingjie ·
    flingjie · Apr 5, 2016 · 4412 views
    This topic created in 3680 days ago, the information mentioned may be changed or developed.

    用于统计扫描二维码用户的时间、地点、客户端类型等信息。

    原理是在生成二维码的时候前面加入一个重定向的动作,这样扫描二维码首先会访问分析的链接地址, 将访问者的时间,地址和客户端类型记录下来,然后转向目标地址.

    基于 tornado 框架,异步进行重定向.数据最后存入 MongoDB 中.

    github : https://github.com/flingjie/qrcode_track

    欢迎吐槽

    5 replies    2016-04-05 22:03:45 +08:00
    llhh
        1
    llhh  
       Apr 5, 2016
    真棒,谢谢!
    wzxjohn
        2
    wzxjohn  
       Apr 5, 2016
    然而很多微信二维码之类的就会失效了啊。。。
    diyisoft
        3
    diyisoft  
       Apr 5, 2016
    有没有其他语言实现的啊
    risker
        4
    risker  
       Apr 5, 2016
    flingjie
        5
    flingjie  
    OP
       Apr 5, 2016
    @wzxjohn 这个怎么说? 比如?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   974 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 23:40 · PVG 07:40 · LAX 16:40 · JFK 19:40
    ♥ Do have faith in what you're doing.