aspose file tools*
The moose likes Groovy and the fly likes how do I create an affiliate link ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "how do I create an affiliate link ?" Watch "how do I create an affiliate link ?" New topic
Author

how do I create an affiliate link ?

Myke Enriq
Ranch Hand

Joined: Feb 13, 2012
Posts: 109
UIsign grails I need to make a plugin for my site.

Third parties must be able to copy some html code form me. This code , when pasted in their sites generates a button.

When some visitor of their sites clicks the generated button my page appears. If they make an account and if they purchase something , and when they make their first purchase , the affiliate guy gets some $. A fixed sum of money for each client he brings.


How do I do that ?

What is a plugin in grials ? Why does my boss say I need to make a plugin ?

Can I just make a link to a controller , and put the action and the id in that link , and when the controller receives a request it knows the sender was from an affiliate from the id (the id in the link I give to the affiliate will be his id in my databse).

Any solutions ?

Please at least recommend me what to read.
Is there any parameter/value you can add to a request ? What if I make a link to a website A and I want him to know that me from website B was the one who pressed the link ?

I appreciate any help,
Myke
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how do I create an affiliate link ?