Forum Replies Created
-
AuthorPosts
-
September 17, 2012 at 6:13 pm in reply to: Non Affiliated to default affiliate or selected in random #49323
reejs
MemberI have found a solution to this by using this code <?php if (isset($_GET) && $_GET!=”) { echo $_GET; } else { echo ‘you_default_affiliate_here’; } ?>
WordPress can not handle PHP middle of a link and I therefore use the WP plugin: ‘PHP Code for posts’
The two things solve the whole task perfectly
September 17, 2012 at 10:18 am in reply to: Non Affiliated to default affiliate or selected in random #49322reejs
MemberSorry I meant shortcode [wp_affiliate_referrer] not [wp_aff_set_affiliate_id]
September 17, 2012 at 5:13 am in reply to: Non Affiliated to default affiliate or selected in random #49321reejs
MemberI have seen this post, and from there I use [wp_aff_set_affiliate_id] to a third part signup e.g companyname.com/[wp_aff_set_affiliate_id]/signup, and it works perfectly as long as you have come to the site via an affiliate link with ‘?a_id =affiliate’ (great feature when I want to use it this way )
But when there are organic traffic to my site [www.mydomain.com/signuphere], and I use [wp_aff_set_affiliate_id] in a link, the code will write ‘None’ e.g. companyname.com/NONE/signup, with the result that the link would not work for a 3 part signup.
So it could be really great if there was a way to get [wp_aff_set_affiliate_id] to catch a ‘default’ affiliate instead of writing ‘None’in some way
-
AuthorPosts