WordPress.org

Ready to get started?Download WordPress

Forums

WP Slimstat
[resolved] button Click event tracking causing jquery delays (11 posts)

  1. JordanThurston
    Member
    Posted 8 months ago #

    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/

  2. camu
    Member
    Plugin Author

    Posted 8 months ago #

    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.

  3. JordanThurston
    Member
    Posted 8 months ago #

    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

  4. camu
    Member
    Plugin Author

    Posted 8 months ago #

    Okay, but don't forget ;)

  5. camu
    Member
    Plugin Author

    Posted 6 months ago #

    Did you forget? ;)

  6. JordanThurston
    Member
    Posted 6 months ago #

    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

  7. camu
    Member
    Plugin Author

    Posted 6 months ago #

    Lol no problem, thank you ;)

  8. mores
    Member
    Posted 6 months ago #

    Camu ... you must have an awesome CRM tool to catch that slacker :)

  9. camu
    Member
    Plugin Author

    Posted 6 months ago #

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

  10. mores
    Member
    Posted 6 months ago #

    :)
    No, I'm just going through the WP SlimStat "support forum" chronologically.

  11. camu
    Member
    Plugin Author

    Posted 6 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.