Building your mailing list from claimed profiles
Skip to main content
How Can We Help?
When bowlers claim their profiles they can opt in to marketing email from your center. Consent is real: the checkbox is unchecked by default, the address is verified by a confirmation code, and the opt-in is recorded with a timestamp. Bowlers can unsubscribe any time from their manage link.
Using the list
- Export CSV: the Profile Claims card on the Bowlers page exports opted-in contacts (name, email, leagues, opt-in date). Import it into Mailchimp, MailPoet, The Newsletter Plugin, or any email tool.
- Live sync for developers: PinPortal fires
pinportal_marketing_optinwhen a bowler opts in andpinportal_marketing_optoutwhen they unsubscribe, release their claim, or are erased. Example (MailPoet):
add_action( 'pinportal_marketing_optin', function ( $contact ) {
if ( ! class_exists( MailPoetAPIAPI::class ) ) return;
$api = MailPoetAPIAPI::MP( 'v1' );
$api->addSubscriber( array(
'email' => $contact['email'],
'first_name' => $contact['first_name'],
'last_name' => $contact['last_name'],
) );
} );
Remember: your newsletter tool’s own unsubscribe handling still applies, the PinPortal opt-out hook is there so you can keep both lists in sync automatically.
