CaptanU CaptanU -4 years ago 69
PHP Question

Discrepancy between fb's article clicks & url shortner

I am trying to track click of an articles.


  • Adding amp enabled wordpress article on facebook.

  • This article is wrapped inside url shortner.


  • Clicks discrepancy is the only & biggest issue.

  • This discrepancy is 10 times. So fb is showing some 300 clicks where shortner & server logs are showing 2.5-3k clicks.

  • I thought its something to do with shortner so tried using different shortners like, Also did code my own using Yourls(php).

  • I did tried checking referrers with my own url system & all the reference seems to be valid fb clicks.

Now I need some solution to solve this issue. I need to know how can I reduce this discrepancy.I think its something to do with AMP/FB Instant articles.

Answer Source

I kinda found answer to this. So, GA sessions are sessions, which means if some user visits any site multiple times still it will be counted once only. But url shortner works on clicks, once you click on any url its counted. So there can be 10 or even 20 clicks under single session.

Closest solution I can find this this issue is to setup a cookie & not to record user's click if he is visiting again in certain time frame. I am still testing this functionality but looks like its working decently.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download