• Resolved wordpressacc

    (@wordpressacc)


    Hi there

    I have linked CF7 to Constant Contact, but I have run into an issue with custom fields. Is there any documentation or does anyone know how to bridge custom fields between CF7 and Constant Contact?

    The guide is says to play with wpcf7_constant_contact_contact_post_request_builder but is unspecific as to what exactly is needed.

    Any insight would be appreciated.

    Cheers

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What kind of custom fields do you mean?

    Thread Starter wordpressacc

    (@wordpressacc)

    Hi Takayuki

    Thanks for the response. I’ll have to be make custom Form Field Names to map between constant contact and CF7.

    your-first-name works fine. But I will also need one called
    your-referral-first-name, or something similar. Is there a tutorial on how to create custom Form field names in CF7 and bridge them to Constant Contact

    Below is an excerpt from the Constant Contact integration page from CF7 https://contactform7.com/constant-contact-integration/

    `Contact properties mapping#Contact properties mapping

    Now, your contact forms and the Constant Contact API are connected.

    Every time a valid form submission is received, Contact Form 7 will send a request to the Constant Contact API that Constant Contact add the contact data to its database based on the submission.

    Constant Contact’s contact data is composed of different types of properties, such as first name, last name, email address, phone number, job title, birthday, etc. To build a request to the API, Contact Form 7 needs to know which input field of the contact form corresponds to which property of Constant Contact’s contact data.

    Contact Form 7 uses the following name-based mapping table to determine the correspondence between input field and contact property. For example, if there is [email* your-email] form-tag (name: your-email) in the form, the value through the field will be used for the email_address property of a contact.
    Form Field Name Contact Property
    your-first-name first_name
    your-last-name last_name
    your-name first_name and last_name (*1)
    your-email email_address
    your-job-title job_title
    your-company-name company_name
    your-birthday-month birthday_month
    your-birthday-day birthday_day
    your-birthday birthday_month and birthday_day (*2)
    your-anniversary anniversary
    your-phone-number phone_numbers
    your-address-street street_addresses.street
    your-address-city street_addresses.city
    your-address-state street_addresses.state
    your-address-postal-code street_addresses.postal_code
    your-address-country street_addresses.country

    <strong>There may be cases where you don’t feel this mapping fits your actual form fields. For such cases, Contact Form 7 provides the wpcf7_constant_contact_contact_post_request_builder filter hook. While it requires a bit of PHP coding to make a filter function, you can customize anything and everything in a contact creating request with this filter. https://contactform7.com/constant-contact-integration/</strong&gt;
    `

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What is the purpose of the your-referral-first-name field?

    Thread Starter wordpressacc

    (@wordpressacc)

    Hi Takayuki

    It was more just an example. I have about 4 custom fields I need to add. I’ll also have others down the road potentially. I can get it work properly if I can bridge a custom Form Field Names to map between constant contact and CF7.

    The guide”” said it I need to use the WP hook. Do you have any experience in setting it up, or do you know who I could potential speak with about it?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @wordpressacc I have archived your new topic. Don’t make duplicate topics and don’t make topics about topics again.

    It makes it harder for volunteers like the plugin developer and others to support you when you do that.

    Thread Starter wordpressacc

    (@wordpressacc)

    I think the plugin Author took it onboard to engage with the thread but then abandoned it.

    Don’t take it personally. And unfortunately, if I feel the need to make a thread again, I will. Which I don’t.

    Thanks for the support!

    @wordpressacc did you ever find out how to use custom fields or the web hook?

    Thread Starter wordpressacc

    (@wordpressacc)

    @dnagywdm

    Unfortunately I wasn’t able to in this case. I’m sure there is a way to do it, but the client needed a solution pretty quickly so we went the route of using a paid Webform service.

    The webform company we used has options for Webhooks which are straight forward, so it was really easy to link up their email marketing and CRM. But we had to pay for the complete package in order to access it.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘CF7 -> Constant Contact – Custom Fields’ is closed to new replies.