Title: /mc4wp-sync-api/webhook-listener
Last modified: August 31, 2016

---

# /mc4wp-sync-api/webhook-listener

 *  [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/mc4wp-sync-apiwebhook-listener/)
 * I tried doing this but it doesn’t work as far as I can tell. When I sign up a
   new account using the mailchimp form nothing at all happens. I followed the instructions
   [https://mc4wp.com/kb/configure-webhook-for-2-way-synchronizing/](https://mc4wp.com/kb/configure-webhook-for-2-way-synchronizing/)
   which are pretty basic and have this as my url in the mailchimp webhook [http://ucirowing.org/mc4wp-sync-api/webhook-listener](http://ucirowing.org/mc4wp-sync-api/webhook-listener)
 * Is there something that I have done incorrectly?
 * [https://wordpress.org/plugins/mailchimp-sync/](https://wordpress.org/plugins/mailchimp-sync/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/mc4wp-sync-apiwebhook-listener/#post-7137860)
 * this is my functions.php file also
 *     ```
       //Add buddypress xprofile field to MailChimp Sync
   
       //Call the function
       add_filter( 'mailchimp_sync_user_data', 'mailchimp_buddypress', 10, 2 );
   
       //Write the function
       function mailchimp_buddypress( $data, $user ) {
       	//Get user ID
       	$user_id = $user->ID;
   
       	// Store Xprofile fields in the $data variable
       	$data['STREET'] = xprofile_get_field_data( 13 , $user_id );
       	$data['STREET2'] = xprofile_get_field_data( 14 , $user_id );
       	$data['CITY'] = xprofile_get_field_data( 7 , $user_id );
       	$data['STATE'] = xprofile_get_field_data( 14 , $user_id );
       	$data['ZIP'] = xprofile_get_field_data( 9 , $user_id );
       	$data['PHONE1'] = xprofile_get_field_data( 16 , $user_id );
       	$data['PHONE2'] = xprofile_get_field_data( 17 , $user_id );
       	$data['COUNTRY'] = xprofile_get_field_data( 28 , $user_id );
   
       	//$data['FINSHLINE'] = xprofile_get_field_data( 20 , $user_id );
   
       	$data['EMPLOYER'] = xprofile_get_field_data( 3 , $user_id );
       	$data['INDUSTRY'] = xprofile_get_field_data( 4 , $user_id );
       	$data['JOBTITLE'] = xprofile_get_field_data( 5 , $user_id );
       	$data['MAJOR'] = xprofile_get_field_data( 6 , $user_id );
       	$data['YEARSROWED'] = xprofile_get_field_data( 10 , $user_id );
       	$data['YEARROWED'] = xprofile_get_field_data( 11 , $user_id );
       	$data['COACH'] = xprofile_get_field_data( 18 , $user_id );
       	$data['ADVDEG'] = xprofile_get_field_data( 19 , $user_id );
   
       	//Return the data
       	return $data;
       }
       ```
   
 * the commented out FINISHLINE is for a checkbox that I’m unsure how to sync. I
   think I just disabled that for now anyhow.

Viewing 1 replies (of 1 total)

The topic ‘/mc4wp-sync-api/webhook-listener’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mailchimp-sync_cfeefa.svg)
 * [MC4WP: Mailchimp User Sync](https://wordpress.org/plugins/mailchimp-sync/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-sync/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-sync/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-sync/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-sync/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-sync/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/mc4wp-sync-apiwebhook-listener/#post-7137860)
 * Status: not a support question