Jump to content

Link to hidden product using Affiliate link?


frisco

Recommended Posts

I have a custom product that will be sold by an affiliate, and I want to use the affiliate tracking of WHM to credit the affiliate.

 

The normal referral link sends people to the WHM area where they cannot see the hidden product. So I need to use a product order link. But how to create a product order link that also credits the affiliate?

 

I have tried http://domain.com/whm/order.php?step=2&pid=4&id=006 but this doesn't do what I had hoped -- test transactions get processed and show that the order was NOT referred by an affiliate.

 

How do I make this work?

 

Ideally, I'd like a product order link that would tie the order to an affiliate.

 

Alternately, I'd like to have a particular product always tied to an affiliate.

 

Thanks for any help!

 

Bill

Link to comment
Share on other sites

  • 1 month later...

Is there something I can look for in the cookie, so I can tell which affiliate referred the prospect, and thus know what to display on the home page? (I.e., I'd use some php on my home page that says to show certain products if referred by affiliate 123, as determined by checking the cookies.)

 

FWIW, I added a bit of code to display the cookie, but did not see much I could use without a roadmap from Array ( [__utma] => 85971231.446523679.1182038204.1182038204.1182043838.2 [__utmz] => 85971231.1182038204.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none) [phpSESSID] => f9e0b533ac45818217bf95ceb9526c30 )

 

Thanks - Bill

Link to comment
Share on other sites

Not surprised -- it's just all that came up when I tried to check cookies.

 

Is there anything I can check to see which affiliate sent the user to the site?

 

The issue I am trying to solve is that there are products that I want to be visible only to those referred by certain affiliates. I don't see any way to do this in the WHMCS, but if the affiliate referral is setting a cookie, then I assume I can write code to test for the cookie on my home page and either redirect the user to a special page, or else display some different text on my home page for those users.

 

Thanks - Bill

Link to comment
Share on other sites

  • 11 months later...

Hi,

 

Did you every manage to figure this out? I have exactly the same issue and are set except for the affiliate linking.

 

We have some dedicated affiliate landing pages (one affiliate per page) so they each have their own dedicated URL to send referrals to on and offline and we can customise that page for that affiliate.

 

We duplicated a product and made it hidden and not available as an upgrade to the other products. We then used a wrapper to bring in the product/order into the dedicated microsite of the affiliate.

 

I have link tracking set to monitor the affiliate pages. Great.

 

What I need to do now is have the a) affiliate tracking activate when the customer clicks on the purchase button and b) credit the affiliate when payment is made. I presume B will happen when a) is set up to work. We know who the affiliate is so we can hard code the affiliate ID into the page and the order button - but how?

 

It needs to set the cookie but we don't want the link that takes a prospect to the home page to be triggered as it would defeat the purpose of this.

 

Did you manage to resolve this?

 

Nabil

 

I have a custom product that will be sold by an affiliate, and I want to use the affiliate tracking of WHM to credit the affiliate.

 

The normal referral link sends people to the WHM area where they cannot see the hidden product. So I need to use a product order link. But how to create a product order link that also credits the affiliate?

 

I have tried http://domain.com/whm/order.php?step=2&pid=4&id=006 but this doesn't do what I had hoped -- test transactions get processed and show that the order was NOT referred by an affiliate.

 

How do I make this work?

 

Ideally, I'd like a product order link that would tie the order to an affiliate.

 

Alternately, I'd like to have a particular product always tied to an affiliate.

 

Thanks for any help!

 

Bill

Link to comment
Share on other sites

Figured it out. Create an invisible iframe in the partner page and put the link in that

 

<iframe frameborder="0" width="0" height="0" src="http://www.yourdomain.com/whmcsfolder/*?aff=xxx"></iframe>

 

Works a treat

 

Nabil

 

Hi,

 

Did you every manage to figure this out? I have exactly the same issue and are set except for the affiliate linking.

 

We have some dedicated affiliate landing pages (one affiliate per page) so they each have their own dedicated URL to send referrals to on and offline and we can customise that page for that affiliate.

 

We duplicated a product and made it hidden and not available as an upgrade to the other products. We then used a wrapper to bring in the product/order into the dedicated microsite of the affiliate.

 

I have link tracking set to monitor the affiliate pages. Great.

 

What I need to do now is have the a) affiliate tracking activate when the customer clicks on the purchase button and b) credit the affiliate when payment is made. I presume B will happen when a) is set up to work. We know who the affiliate is so we can hard code the affiliate ID into the page and the order button - but how?

 

It needs to set the cookie but we don't want the link that takes a prospect to the home page to be triggered as it would defeat the purpose of this.

 

Did you manage to resolve this?

 

Nabil

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated