Hi Josh,
You can update tot v6.0.2.1, I included the fix in that update.
As for the code:
Let say that you have a field in my form:
<p>Your Name (required)<br />
[text* your-name] </p>
And you had a field in your MailChimp form called ‘Name’, and the merge tag was ‘NAME’. If you wanted to capture the name entered into contact form 7, and populate the ‘Name’ field in my Mailing List you could use the following code:
/*
* Populate the 'Name' field in the MailChimp Mailing list
* from the 'your-name' field in Contact Form 7
* @since 6.0.2.1
*/
function additional_contact_form_7_data( $merge_variables, $cf7_data ) {
$name = $cf7_data['your-name'];
$merge_variables = array(
'NAME' => $name,
);
return $merge_variables;
}
add_filter( 'yikes-mailchimp-contact-form-7', 'additional_contact_form_7_data', 10, 2 );
You can change the variables around as needed. The $merge_variables array is the data being sent to MailChimp. You can populate that array with as many parameters as needed.
Give that a shot and let me know how it works out on your end!
Thanks,
Evan