Debugging Constant Contact list addition issues
-
If you are running into issues with getting users added to your list(s) in your Constant Contact account at constantcontact.com, please read through the following checklist to make sure each condition is met.
- You have opt-in checked for the form you’ve created.
- You do not have WP CRON disabled for you website.
Constant Contact requires user authorization to add them to a list in your Constant Contact account. Without the opt-in settings set in the admin, and the checkbox available to the user when filling in the form, the code that schedules the user submission will not be executed.
If you have WP CRON disabled for any reason, or have issues with WP CRON, then the appropriate API requests to add the user could very well not end up executing. Constant Contact Forms will opt in the user on a cron job roughly a minute after the form is submitted. If WP CRON is disabled however, it won’t run the opt in code, or the issues will hinder its execution.
Changing opt in delay time
If you would like to change the default one minute delay to something else, you can use the
constant_contact_opt_in_delay
filter. For example, if you wished to have it wait for 3 minutes instead of one, you could do so with the following codefunction ctct_docs_change_optin_delay( $schedule_delay ) { return 60 * 3; } add_filter( 'constant_contact_opt_in_delay', 'ctct_docs_change_optin_delay' );
- The topic ‘Debugging Constant Contact list addition issues’ is closed to new replies.