1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Tracking clicks on Facebook link

Discussion in 'Social Networks' started by mudvayne2020, Mar 15, 2020.

  1. #1
    Hi,

    If I post a Facebook link on my company website so that customers can click to be taken to my company's Facebook page, is there any way to get stats on those clickthroughs? Thanks!
    SEMrush
     
    mudvayne2020, Mar 15, 2020 IP
    SEMrush
  2. sarahk

    sarahk iTamer Staff

    Messages:
    26,110
    Likes Received:
    3,814
    Best Answers:
    108
    Trophy Points:
    665
    #2
    What tool are you using to collect stats at the moment?

    You can use google analytics to track outbound links.
     
    sarahk, Mar 15, 2020 IP
  3. mudvayne2020

    mudvayne2020 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    I'm not using anything currently. I am new to this gig but with a company I have worked for about 15 years.
     
    mudvayne2020, Mar 15, 2020 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    26,110
    Likes Received:
    3,814
    Best Answers:
    108
    Trophy Points:
    665
    #4
    Then I'd be getting them onto Google Analytics. Search up how to track outbound links. There are a few code snippets to add but it should be easy enough.
     
    sarahk, Mar 15, 2020 IP
  5. JEET

    JEET Notable Member

    Messages:
    3,284
    Likes Received:
    349
    Best Answers:
    15
    Trophy Points:
    235
    #5
    When you post a link on facebook, and someone clicks it, then facebook adds an additional parameter to that link when it sends the visitor to the website, like:
    You posted link to "domain.com"
    Fb will send visitor to: "domain.com?fbclickid=something"

    That "fbclickid" part is what you want.
    This will be in the URL, you can use your PHP code to GET or REQUEST that parameter from URL and keep track of individual links, how many times they were clicked, at what time, etc etc.
     
    JEET, Mar 15, 2020 IP
  6. sarahk

    sarahk iTamer Staff

    Messages:
    26,110
    Likes Received:
    3,814
    Best Answers:
    108
    Trophy Points:
    665
    #6
    I think the OP wants to track clicks from the company website to Facebook...
     
    sarahk, Mar 16, 2020 IP
    JEET likes this.
  7. JEET

    JEET Notable Member

    Messages:
    3,284
    Likes Received:
    349
    Best Answers:
    15
    Trophy Points:
    235
    #7
    sarahk
    oops, my mistake.

    In that case why aren't they simply linking to an internal page of their website, which silently does a header redirect to facebook page, but before doing the redirection, their script code can log clicks in a database.
    They can store anything, IP or user agent etc.
     
    JEET, Mar 16, 2020 IP
  8. mudvayne2020

    mudvayne2020 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #8
    Thank you both!
     
    mudvayne2020, Mar 17, 2020 IP