• Resolved idbiz

    (@idbiz)


    hello I have a site where users can post ads on articles.
    In order to encourage users to publish I would like to compensate the affiliates once the recommended users have published an ad. Is there a possibility of knowing and remunerating the affiliate once a specific action (publishing an article) has been carried out by a person they have recommended.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    Yes this is possible to track a referral and grant a commission to the referring affiliate programmatically. All you need to do is track when this action is submitted and usually this is possible through a hook. If this action provides a hook then you can use it and add a referral using Affiliates API function
    affiliates_suggest_referral( $post_id, $description, $data, $amount, $currency_id, $status, $type, $reference ).

    Reference:
    https://github.com/itthinx/affiliates/blob/master/lib/core/wp-init.php#L1337

    Kind regards,
    George

    Thread Starter idbiz

    (@idbiz)

    Thanks for the feedback. Should I choose necessarily affiliates company or affiliates pro or the free version is enough to do this?

    • This reply was modified 2 years, 2 months ago by idbiz.

    Hi there,

    You’re welcome. That depends on the features you are looking for. Perhaps if you can share the details, I can give you a more suitable answer.
    Also, keep in mind that the aforementioned function works only for the free version of the plugin.

    Kind regards,
    George

    Plugin Author itthinx

    (@itthinx)

    FYI extended info on the use along with links to reference implementations and pointing to advanced APIs available with the premium versions are in this article https://www.itthinx.com/2022/12/11/tracking-user-actions-with-affiliates/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘track one particular action on my wbsite di i can compnsate affiliates’ is closed to new replies.