Affiliate Landing Pages

Posted in

We are a b2b services company and are hoping to use your product to promote our services through an affiliate network. In doing so, we want to create landing pages for our affiliates so their customers (referrals) can go to the affiliate’s marketing landing page (our domain) and click buttons to purchase services.

My Affiliate Area URL is http://domain.com/real-estate/

My Affiliate URL is set to “advantage”

I want the affiliate landing pages to link to http://domain.com/real-estate/?advantages=username. How do I do this? Currently it shows http://domain.com/?advantages=username

Also, can I create custom affiliate pages such adding affiliate logos to the base affiliate template? Finally, where do I create the affiliate landing page template?

3 Responses to Affiliate Landing Pages

  1. George July 25, 2017 at 7:51 am #

    Hi Ron,

    Although there is no native support for affiliate logos, perhaps this snippet could be useful. If you paste it in your functions.php file of your child theme and add the shortcode [affiliate-avatar] in your affiliate area page, it will display the gravatar set for the affiliate-user.

    add_action( 'init', 'affiliate_avatar_shortcode' );
    function affiliate_avatar_shortcode() {
    add_shortcode( 'affiliate-avatar', 'affiliate_avatar' );
    }
    function affiliate_avatar( $atts ) {
    $output = '';

    if ( !is_admin() ) {
    if ( get_current_user_id() != 0 ) {
    $user_id = get_current_user_id();
    if ( affiliates_get_user_affiliate( $user_id ) != null ) {
    if ( get_avatar( $user_id ) ) {
    $output .= get_avatar( $user_id );
    } else {
    $output .= $user->user_login ;
    }
    }
    }
    }

    return $output;
    }

    Hope it helps.

    Cheers,
    George

  2. Ron July 23, 2017 at 9:28 pm #

    Hi George,

    This helps a lot however one question still remains. Each affiliate will have their own logo. How do I show their name and/or logo on their specific affiliate pages?

    Example: I would like affiliates to upload their logo as their registration id and display that logo on all pages related to their affiliate URL.

  3. George July 10, 2017 at 8:19 am #

    Hi Ron,

    You can create a new page and add affiliates shortcodes, or generate affiliate area pages through your Dashboard under Affiliates > Settings, in Pages tab. If you choose to create an affiliate area page manually, please make sure to add this block so that it would be more user-friendly for your affiliates and non-affiliates.
    [affiliates_is_not_affiliate]

    Please log in to access the affiliate area.

    [affiliates_login_redirect]

    If you are not an affiliate, you can join the affiliate program here:

    [affiliates_registration]
    [/affiliates_is_not_affiliate]

    [affiliates_is_affiliate]

    Welcome to your affiliate area. Here you can find information about your affiliate link and earnings.

    [/affiliates_is_affiliate]

    After creating the page, start adding shortcodes. Inside the second block, after the Welcome to your… you should add the proper shortcodes listed here for Affiliates Pro and here for Affiliates Enterprise.

    Regarding a custom url for your landing pages using usernames instead of affiliates ids. In order to render usernames instead of ids, Affiliates by Username premium extension is required. Once it is installed, you can use something like [affiliates_by_username][affiliates_url]http://www.example.com/somepage[/affiliates_url][/affiliates_by_username] to display an affiliate url with the affiliate username appended instead of id.

    Regarding logos and banners, please have a look at Affiliates > Banners to upload and manage your images and then use [affiliates_banner] shortcode as described here, to display your banner with the appropriate HTML and the affiliate id for each affiliate that is logged in.

    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