php - How do you subscribe and assign subscriber to group with the mailchimp api? -
php - How do you subscribe and assign subscriber to group with the mailchimp api? -
i attempting utilize api in php subscribe , assign subscriber group.
i need able create grouping on fly , i'm trying next not much success:
// include other relevant files here $merge_vars = array( 'fname'=>$name[0], 'lname'=>$name[1], 'interests'=>'', 'groupings'=>'pets' ); if remove 'groupings' array, subscribing works fine - we've got going... how groups?
thanks time
add 1 more thing in array i.e "email" => "test@test.com"
& when calling listsubscribe() check your
apikey, listid,
"email id add together in subscriber list comes here i.e test@test.com", email_type fields properly.
try this. helpful you.
php mailchimp
Comments
Post a Comment