ConstantContact action_by parameter not sent
-
Hi there
We’re using Hustle integrated with ConstantContact account, and wanted to set up a welcome email to be automatically sent to people who sign up using our form on the website. However this did not seem to work – contacts were added to the list on which we had the welcome series activated, but the email wasn’t being sent.
According to the ConstantContact developer notes a request to add/update a contact must have the parameter of OptInSource set to either “ACTION_BY_VISITOR” or “ACTION_BY_OWNER” (the link above seems to be for API v3 maybe where VISITOR is now named CONTACT?). Automatic sequences are only activated if it is an ACTION_BY_VISITOR, i.e. added by the contact themselves. This is the case when people use a signup form on a website, so we should be allowed to send this parameter, right?
It seems as though line 363 in
\inc\providers\constantcontact\hustle-constantcontact-api.php
is the actual request:$response = $cc_api->contactService->updateContact( $access_token, $contact );
If we add
['action_by' => 'ACTION_BY_VISITOR']
as the third parameter then the opt-in status is considered explicit rather than implied, and welcome sequences begin to work as expected when new contacts sign up using the form and are added to the set list.So I wanted to confirm if I am missing something and this omission was by design, or if this was a bug with the ConstantContact integration? And is this the best way of handling this parameter?
Thanks
- The topic ‘ConstantContact action_by parameter not sent’ is closed to new replies.