4

We're using Google Groups Sync to synchronize our members in CiviCRM with groups in Google Groups. However, if the user unsubscribes from the list using the Google Groups link, Google Groups Sync will automatically re-add them during the next sync cycle.

The solution, I believe, is to include the unsubscribe link CiviCRM would generate if the e-mail originated from CiviMail, but I can't work out how to generate that link.

Is it possible to generate an unsubscribe link manually, or generic enough to include in the footer of Google Groups messages?

1

I'm not familiar with Google Group Sync, but if the message is not coming from CiviCRM, I'm not seeing how you would include an individualized CiviCRM checksum (generated by a CiviCRM token) for each contact. As you say a generic link to allow anyone to unsubscribe is needed.

An option would be to include a link to a profile that allows people to manage their groups. Since this is a profile that works for anyone, no token is required. But the user would need to log in.

If contacts don't have user accounts or you don't want them to have to login, you could write an extension for the user to request a new link - similar to Pete's idea here: Can an expired checksum provide any warning to the user when they get to the site?

  • Thank you for the suggestion. I will take some time to look st this later today. I considered the profile, but couldn't find the group unsubscibe fields when creating the profile. I was hoping I could make an API call to CiviCRM with the checksum for the group, and allow the user to enter their email address, or login to complete the removal. – Paul Dufresne Jun 5 '16 at 13:07
  • Add the field Contacts > Groups to a profile, and all Mailing Lists groups that are available publicly will show up. You can then send the profile edit link to the contacts that want to change their subscription settings. – Sanjay Jain Jun 5 '16 at 15:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.