• Resolved crispress

    (@crispress)


    Hi there,

    I need to implement a JS link:
    <a href=“javascript:someFunction()“>Click me to execute script</a>

    Slim Stat converts that to:
    <a href="“javascript: javascript:someFunction()“" data-slimstat-clicked="false" data-slimstat-type="2" data-slimstat-tracking="false" data-slimstat-callback="false">Click me to execute script</a>

    And the link is not working. What can I do?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Jason Crouse

    (@coolmann)

    Hi,

    You can add class='noslimstat' to your link to prevent Slimstat from messing around with it. You can also use other criteria, and then configure the corresponding option in the Settings, as explained in our knowledge base:

    https://slimstat.freshdesk.com/support/solutions/articles/5000528532-can-i-disable-outbound-link-tracking-on-a-given-link-

    Best,
    Jason

    • This reply was modified 9 years, 4 months ago by Jason Crouse.
    Thread Starter crispress

    (@crispress)

    Thanks for your quick reply, Jason. The output is the same (Slim Stat classes still in the link), but, stupid me, the problem here wasn’t Slim Stat, but the curly quotes which I didn’t see when I copied the link snippet from a webpage… Damn, the Error – most of the time in front of the display. 😀

    Plugin Contributor Jason Crouse

    (@coolmann)

    Glad to hear you figured it out. A review for Slimstat would be a nice way to say thank you 🙂

    Best,
    Jason

    Thread Starter crispress

    (@crispress)

    It’s not that I can’t can come up with a real bug! 😉
    The realtime widget in WP Admin main page doesn’t work, it always says “no data”. Other Slim Stat widgets do work.

    Review written, gladly, Ticket can be closed. 🙂 Thanks!

    Edit: I guess I should shut up. 😀 “Users currently Online” says “No Data”, and that’s likely because no known users are online?
    “Currently Online” works, but should probably show pages along with (to my taste).

    • This reply was modified 9 years, 3 months ago by crispress.
    • This reply was modified 9 years, 3 months ago by crispress.
    Plugin Contributor Jason Crouse

    (@coolmann)

    You can always take a look at Settings > Maintenance to see if the tracker is reporting any errors there. Are you using any of our premium add-ons, like Custom DB? That might also be the cause for not seeing any data in those reports (permission issue).

    Thank you for your review, it is very much appreciated.

    Jason

    Thread Starter crispress

    (@crispress)

    Yes, I have Custom DB installed, but not customized yet (points still to the main DB). The tracker reports no errors.
    “Users currently Online” – what is that supposed to show? Website users, or WordPress users?

    Plugin Contributor Jason Crouse

    (@coolmann)

    WordPress users.

    Thread Starter crispress

    (@crispress)

    Thanks, Jason. Then it’s clear why it doesn’t show data.
    You should now really close this ticket, before I ask even more unqualified and offtopic questions! 😉

    Thanks! 🙂

    Plugin Contributor Jason Crouse

    (@coolmann)

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘JavaScript Links destroyed in HTML’ is closed to new replies.