How do you cloak and send affiliate ID from a <FORM> S

Anonymous's picture

Hi, I have made PHP links for straight forward text links. Now I have a form from linkshare for a search box. I am not clear on what variable is the affiliate's tag for putting your special tracking info for your keyword, and how do I convert this so it can be done in PHP?

What I want to do is keyword load the search with say "RED WIDGETS", and make a button for it. That way, for those companies that don't give you a category RED WIDGETS as an affiliate link, you can create your own with the search form and make a button for it. This assumes they have a searchbox available.

I have done this, with the code below, but don't know how to turn this into a straight link (without the form), and where to put the tracking code.

Here is an example, searching for RED WIDGETS, with the search box hidden, but the keyword is inserted internally. So only a button will appear with the words "Get Red Widgets" on it.

By the way what is the CID variable? Thanks to all.

How do you cloak and send affiliate ID from a <FORM> S

Anonymous's picture

Ok, I found a way to get the link the form generates. I unplugged my cable modem (so my internet connection is off), and clicked on the button, which I have open a new window. And there it is in the browser bar, the whole link the form generates.

Now if I only knew what variable in Linkshare you use to track your keywords. Is it subid? or something else. I keep reading online that subid is not supported anymore. Anyone?

How do you cloak and send affiliate ID from a <FORM> S

Jeremy Palmer's picture

Hi Guest,

Checkout Appendix A in my book where I give a Linkshare example for tracking variables.

The tracking field in Linkshare is called the member id field. In the linkshare affiliate links the variable is referenced as "u1"

I'm not sure if this will work in the form from your previous example, but I'm guessing it will (test to make sure).

Best,

Jeremy

How do you cloak and send affiliate ID from a <FORM> S

smile66603's picture

Hey Guest,

I just looked at some of my LinkShare links and I don't think subid has anything to do with tracking. For the form tracking, I would guss that you do it the same way that I'm doing it in on of my CJ forms. I'm using this code.

>

I would guess that for LinkShare, you would just use u1 instead of SID, but you might want to check with LinkShare first.

James

Syndicate content