You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to add some tags to each subscriber but nothing here or what I'm finding online is working.
I've tired subscribing then adding the tags
Newsletter::subscribeOrUpdate('[email protected]', ['FNAME' => 'Rince', 'LNAME' => 'Wind'], "subscribers");
Newsletter::addTags(['family'], '[email protected]');
I get the following:
Call to undefined method Spatie\Newsletter\Drivers\MailChimpDriver::addTags()
I've tried passing it in as a 4th arugment:
Newsletter::subscribeOrUpdate( $request->email, [ 'FNAME' => $request->name, 'LNAME' => $request->last_name ], 'subscribers', [ 'tags' => [ 'tag1' => true, 'tag2' => true ] ], );
Beta Was this translation helpful? Give feedback.
All reactions