- This topic has 3 replies, 2 voices, and was last updated 12 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › wp-eMember send custom fields to getresponse
Hi, i need to send custom fields to getresponse. For example i need to send the user level and another manual custom field “From Registration”.
How can i do that?
Thanks
Federico
By default it will only send the name and email to the autoresponder as this is the basic requirement.
Look for the following block of code in the “eMember_auto_responder_handler.php” file of eMember plugin (it is inside the “eMember_getResponse_subscribe” function):
$result = $client->add_contact(
$api_key,
array (
'campaign' => $CAMPAIGN_ID,
'name' => $customer_name,
'email' => $email_to_subscribe,
'cycle_day' => '0'
)
);
You can add more fields in the above array.
Thanks for your answer, but i need to take the users level, what is the variable of wp-emember?
Best regards
Federico
Providing this kind of code customization is beyond the scope of this support forum. Please contact us using the contact form to get customization quote. The 3rd point on our support guidelines post will explain this in more details:
https://support.tipsandtricks-hq.com/forums/topic/forum-rules