0
Where to put the custom tracking code. Actually i want to track the form filled from the RS Form Pro. Will the custom tracking API code will work for it?
Responses (5)
-
Accepted Answer
-
Accepted Answer
0I just tried and it works but i have few issues. I did the following changes in the code. and what i want is:
1. Do not calculate commission for the user. (is there something that i can add in the following code to do so)
2. I get this error after filling up the form "You must provide at least one recipient email address." My form contains these fields - Name, Email, Country, Message, Submit.
3. Is there a code to get some ref. number or user-id of the affiliate while receiving the inquiry form? or is this something i need to ask with RS Form
$conversion_data = array(
"name" => "Inquiry Form",
"component" => "com_rsform",
"extended_name" => "Inquiry",
"type" => 1,
"value" => 0 ,
"reference_id" => 234,
"approved" => 0,
);
require_once(JPATH_SITE.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_affiliatetracker'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helpers.php');
AffiliateHelper::create_conversion($conversion_data, $user_id); -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »