Forum
Community Login
Infusionsoft Community
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Affiliate code through API... (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Affiliate code through API...
#2981
bboldi (User)
Senior Boarder
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
Affiliate code through API... 11 Months, 4 Weeks ago Karma: 1  
I have a html file which contains the standard javascript redirect affiliate code ( the one with:

Code: :

 ... window.location myCrm "/go/" code affiliate ad; ...



)

Because my order form is working with API (i'm not using the form hosted by InfusionSoft) I've added a code to the redirect html file that sets a cookie value to the affiliate name, and when someone signs up to the membership site I'll find the Affiliate ID with

Code: :

 DataService.findByField



and then send the returned (affiliate) Id (integer) along with the rest of the data using

Code: :

 InvoiceService.addRecurringOrder



xmlrpc call.

is this method correct? will this work?

thanks.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3047
Eric (User)
Gold Boarder
Posts: 136
graphgraph
User Offline Click here to see the profile of this user
Re:Affiliate code through API... 11 Months, 3 Weeks ago Karma: 15  
Yup. should work fine.
 
Report to moderator   Logged Logged  
 
-- Eric Martineau --
Chief Software Architect
Infusionsoft
  The administrator has disabled public write access.
#3068
bboldi (User)
Senior Boarder
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
Re:Affiliate code through API... 11 Months, 3 Weeks ago Karma: 1  
thanks.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop