Affiliate link for each product


I have not found anywhere where you have to configure the links that you give for each affiliate.

When the affiliate talks about several of the products on my site on his channel, in the description he puts the links of each product, so we can see how many people clicked on the link, if they bought, which product has been the most clicked ……

But where to do that in the settings please?

One Response to Affiliate link for each product

  1. George May 12, 2021 at 9:22 am #

    Hi Thierry,

    Welcome to our support forum and many thanks for using our affiliate marketing tools on your site.
    The main tool for affiliates to generate affiliate links can be found in Affiliates Dashboard Overview.
    When a logged in affiliate pastes a URL to the field, the affiliate link will be generated.

    Another option you can use is by adding the affiliate URL to the single product template so that whenever the affiliate goes to a product page can find the affiliate URL for that product.
    For example I used the hook woocommerce_before_single_product_summary in the following snippet:

    add_action( 'woocommerce_before_single_product_summary', 'affiliate_url_before_single_product_summary' );
    function affiliate_url_before_single_product_summary() {
    $output = esc_html( 'Your affiliate link for this product is: ' );
    $output .= do_shortcode( '[affiliates_url url="current"]' );
    echo $output;

    But of course you can use any of the hooks available in the single product template and the snippet should be added in the functions.php file of your child theme preferably or as a plugin.

    Kind regards,

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account