Acceptance checkbox returning just “1” to SendinBlue contact attribute.
-
Hi,
I am experiencing an issue when using the built-in Sendinblue integration for Contact Form 7.
All the form tags within the Contact Form 7 form behave as expected, apart from an Acceptance checkbox tag. The Acceptance checkbox tag is declared as follows in the form:
[acceptance your-acceptance] I agree to receiving emails [/acceptance]
This tag is mapped to my Sendinblue contact attribute ACCEPTANCE, which is of type TEXT.
If the form is completed you will receive an attachment (sent by contact form 7/send pdf addon), of a CSV file. The csv file contains all the tags and their values collected in the form at the time of submission. The csv file shows the value for ‘your-acceptance’ tag is “Consented: I agree to receiving emails” (TEXT).
However the mapped contact attribute ACCEPTANCE in Sendinblue is populated with the value “1”. So although the csv file suggest that a text value of “Consented: I agree to receiving emails” is captured using the ‘your-acceptance’ CF7 tag a ‘1’ is applied to the Sendinblue contact attribute ACCEPTANCE. I am not sure if this is somehow acting like a boolean value, but why would this happen if the CF7 form tag is TEXT and so is the mapped Sendinblue contact attribute?
In the contact attribute–form field mapping, all mappings are working as expected, apart from one that is the named ACCEPTANCE of type TEXT.
Initially I was using MailChimp with a third paty integration which correctly mapped the value as “Consented: I agree to receiving emails” and not a ‘1’.
I have been in contact with Sendinblue and they state it is nothing to do with their platform but instead the integration of the Contact Form 7 plugin.
Kind regards.
- The topic ‘Acceptance checkbox returning just “1” to SendinBlue contact attribute.’ is closed to new replies.