WordPress.org

Ready to get started?Download WordPress

Forums

Pretty Link Lite
[resolved] Hook to change URL when using Target URL Rotation (6 posts)

  1. JonasBreuer
    Member
    Posted 1 year ago #

    Hi,

    I developed a plugin to track affiliate earnings. My plugin detects affiliate links and adds a tracking param before forwarding the user.

    When Pretty Link is used to cloak affiliate links, I'm using your hook 'prli_target_url', to add the tracking param.

    But it seems, that this hook is not called, when your Target URL Rotation feature is used. Is that a bug or is there another hook I have to use instead?

    Thank you and regards,
    Jonas Breuer

    http://wordpress.org/extend/plugins/pretty-link/

  2. cartpauj
    Member
    Plugin Author

    Posted 1 year ago #

    Are you using Pro or Lite?

  3. JonasBreuer
    Member
    Posted 1 year ago #

    The user who is experiencing problems when using both plugins is using Pro. When he is using normal links, the hook works fine.

  4. cartpauj
    Member
    Plugin Author

    Posted 1 year ago #

    You'll need to put your priority on your callback for that filter to something larger than 99 for it to work on rotations.

  5. JonasBreuer
    Member
    Posted 1 year ago #

    Yeah that did the trick. Thanks for your support.

  6. cartpauj
    Member
    Plugin Author

    Posted 1 year ago #

    No problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.