Support » Fixing WordPress » How to save which user clicks on a specific button

  • Hello!
    I am creating a job postings website. Everything is complete other than one important aspect of the website, the apply now part.

    I want to know of every logged in user that clicks on the apply now button (on every blog post). Is there a way to do that? I’ve tried everything and am stuck!!

    • This topic was modified 4 months, 3 weeks ago by Jan Dembowski.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Does a button click take the user off of your site? If not, it’s easier to track the subsequent page load instead of the button click. The referrer value passed with the request can be checked to determine where the request came from if that makes any difference.

    The click event itself can be tracked if the button takes one off site. Some JavaScript is added to listen for click events on the button element. When that happens an Ajax request is sent to WP so the event can be logged.

    I’m not a regular Google Analytics user. I know it will track page loads or conversions. I believe it can track specific clicks on a page as well. It offers many benefits and capabilities if you wish to track what users do on your site.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.