5

When viewing a contact's Group tab, you can see the groups as well as the date that they were added to the group.

Contact > Groups tab

I've been trying to find a way to search based on the date that a contact was added to a standard group but running stuck. For example, a search for:

  • contacts that are added to the "Newsletter Subscribers" group
  • only those added within the last month

Is this type of thing possible?

2 Answers 2

6

I have a report for this on Github.

EDIT: Ignore comments below; this report works on modern versions of CiviCRM, and Laryn's improvements are now part of my extension.

5
  • Thanks! I've been using this (forked with some tweaks) and it's doing what I need. github.com/laryn/org.cpehn.subscriptionhistory
    – Laryn
    Feb 27, 2018 at 18:13
  • 1
    Hooray for open source! Happy to accept a PR with your changes, too. I might even submit this to the extension directory since other folks are finding it helpful. Feb 27, 2018 at 20:08
  • 👍 PR submitted -- see what you think of the changes. :)
    – Laryn
    Feb 27, 2018 at 23:02
  • @JonG-MegaphoneTech – count me as someone who would be really grateful if you added "search by group add date" to the extension directory. :-) Sep 19, 2018 at 16:40
  • @Eiljah you can download my extension from Github, or better yet Laryn's fork. If you're constrained to the extension directory for whatever reason, the GDPR extension has a very similar report. Sep 20, 2018 at 2:49
2

You can also do this in SearchKit by using the Contact Subscription Histories entity.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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