Banners for affiliates generated url

Hello,
I have to use affiliates generated urls by [affiliates_generate_url] shortcode.
Please advise if there is a possibility to generate corresponding HTML for the available banners?
Otherwise banners HTML doesn’t correspond to generated url.
Example.
Standard affiliate link: http://www.example.com/somepage/?affiliates=77777777 (WILL NOT BE USED)
Generated affiliate link: http://www.example.com/otherpage/?affiliates=88888888 (TO BE USED)

Available (generated) Banner HTML:

NEEDED Banner HTML:

Any possibility to generate such banner html to comply with generated url?

Thank you in advance!

3 Responses to Banners for affiliates generated url

  1. George August 6, 2018 at 11:04 am #

    Hi Pavel,

    You are welcome.

    Although you can’t use generated URLs for the banner, you can make it dynamic.
    If you add the banner manually like this.
    For example if you add this to the Text View mode of the page.
    <a href=”[affiliates_url url=”http://example.com/affiliate-page[affiliates_id]“]”><img src=”http://example.com/wp-content/uploads/2017/05/some_image.png” alt=”” width=”1094″ height=”646″ /> </a>
    This will render the html for the banner some_image.png for the page with permalink affiliate-page as the personal affiliate page. This page would render the same kind of data for all your affiliates but will append the respective affiliate id, or if you prefer the logged-in affiliate’s id that will get the banner html snippet. It will also work as a profile template for your affiliates. If you add something new to the template, all your affiliates will see that info once they login.

    Hope this helps.

    Kind regards,
    George

  2. pnshus August 4, 2018 at 3:46 pm #

    Hi George, thank you for the answer.
    The problem is that each affiliate should have affiliate link to personal page.
    It could be done through [affiliates_generate_url] shortcode
    Example:
    affiliate1: http://www.example.com/affiliate-1/?affiliates=88888888
    affiliate2: http://www.example.com/affiliate-2/?affiliates=77777777
    affiliate3: http://www.example.com/affiliate-3/?affiliates=999999

    Is it possible to “generate” corresponding banner html for each affiliate?
    Best regards,
    Pavel

  3. George August 4, 2018 at 3:28 pm #

    Hi Pavel,

    Please have a look at url attribute of [affiliates_banner] shortcode.
    You can use it like this:
    [affiliates_banner id="142" url="http://www.example.com/foobar/"]
    and with that option, it will generate a banner that will link to http://www.example.com/foobar/ when clicked.

    Kind regards,
    George

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

Share