WordPress.org

Support

Support » Plugins and Hacks » [Resolved] button Click event tracking causing jquery delays

[Resolved] button Click event tracking causing jquery delays

  • Hello There,

    I’m currently using your SlimStat Plugin to track some buttons I have that run an Ajax function when clicked. unfortunately, when the buttons are clicked now, the tracking event causes the entire the jquery functions to pause for half a second. Considering the buttons fade in and out when you mousing over certian parts of the page i get the affect of half faded buttons pausing in their animation half way while the tracker grabs and stores its information.

    the ss.track function im using:

    if(typeof ss_track == “function”) ss_track(event, 5, “ajax button”);

    Is this a known issue with your click events? causing pauses in jquery or javascript processes. If anyone has any insight into this problem, it would be greatly appreciated.

    Kind Regards, Jordan

    http://wordpress.org/plugins/wp-slimstat/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Jason Crouse

    @coolmann

    Hi Jordan,

    the delay was added to make sure that, in case a link is clicked, the browser has enough time to send the event back to the server BEFORE loading the new page. But in your case it’s not necessary, indeed. We will be adding an async param to ss_track, which can be set to true to avoid this issue.

    We will add a note to the changelog when this is implemented.

    Thank you for pointing this out!
    Camu

    PS: a review for SlimStat would be a nice way to say thank you.

    Camu,

    You Sir, are a legend.
    If I’m being honest, based off my other WordPress support forum forays I didn’t expect a response for a couple of months, let along an hour or so later.

    Thank you for such a fast response and double so for your pledge to add support for my issue in the future for your plugin.

    When that support comes out I’ll be sure to write an excellent review for your plugin.

    Regards, Jordan

    Plugin Author Jason Crouse

    @coolmann

    Okay, but don’t forget 😉

    Plugin Author Jason Crouse

    @coolmann

    Did you forget? 😉

    Hahaha, I’m ashamed to say i did, i’ll do it immediately!
    Thank you again, And excellent work on SlimStat.
    It really is an exceptional plugin!

    Regards, Jordan

    Plugin Author Jason Crouse

    @coolmann

    Lol no problem, thank you 😉

    Camu … you must have an awesome CRM tool to catch that slacker 🙂

    Plugin Author Jason Crouse

    @coolmann

    LOL. You must have an even better one, if you are responding to these threads 😉

    🙂
    No, I’m just going through the WP SlimStat “support forum” chronologically.

    Plugin Author Jason Crouse

    @coolmann

    Well, maybe I should ditch our CRM then, and rely on you 😉

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] button Click event tracking causing jquery delays’ is closed to new replies.