WordPress.org

Ready to get started?Download WordPress

Forums

Pretty Link Lite
[resolved] How to add a class to a pretty link? (2 posts)

  1. WhoCan
    Member
    Posted 1 month ago #

    Hello!

    I need to add "class=clicky_log_outbound" to my pretty links, in order to force the code of my analytics software to track them.

    Can anybody explain me how this is done?
    :-)

    Thx!

    https://wordpress.org/plugins/pretty-link/

  2. WhoCan
    Member
    Posted 1 month ago #

    Found the answer myself already ;-)

    There is a much easier way. The "Yoast Clicky Plugin" has a function to assign outbound link patterns (for example " /out/ " ). So I first assigned a pattern with the clicky plugin. Then I just set up all my pretty links with that pattern (mydomain.com/out/mylinktext ), and now tracking works fine!

Reply

You must log in to post.

About this Plugin

About this Topic