So, I am trying to find a way to integrate iDev affiliate program into a Gravity Genius form. iDev has several options for putting code into the sales confirmation page. There is Generic Pixel, Javascript, and the HTTP API call. iDev affiliate program says to insert the following code into the sales confirmation page:
<img border="0" src="http://www.mywebsite.com/idevaffiliate/sale.php?profile=72198&idev_saleamt=XXX&idev_ordernum=XXX" width="1" height="1">
or
<script language="JavaScript" type="text/javascript" src="http://www.mywebsite.com/idevaffiliate/sale.php?profile=72198&idev_saleamt=XXX&idev_ordernum=XXX"></script>
I would also need to replace the XXX with variable info from the form. I would actually use the wordpress id and email from the form.
Now, I am not actually charging for signup on my membership website so what I want to do is upgrade to the developer license and use the wp role features of Gravity Forms for signups. When the user submits the form for registration, I want to activate the above code so the affiliate program tracks the sign up and passes the data into the XXX placeholders.
There is also a 3rd Party Affiliate Call option:
http://www.mywebsite.com/idevaffiliate/sale.php?profile=72198&idev_saleamt=XXX&idev_ordernum=XXX
Can anyone give me an idea how I can accomplish my goal here?