Expand my Community achievements bar.

SOLVED

Newsletter subscribe and unsubscribe feature

Avatar

Level 2

Hi, I am looking to use the newsletter feature of CQ and wanted to provide options to the end user for subscribing/unsubscribing to receive the newsletter.

Can someone suggest the best way to go forward for providing such functionality? The documentation seems rather incomplete on those features and it looks like AEM assumes some external service to be used for enabling this functionality (like exact target etc.). IS there a way to get the functionality working in CQ? The current documentation suggests going to geometrixx in the toolbar and adding email address and clicking signup for subscribing to newsletter,which unfortunately doesn't work at all.

So, do I need to custom code the functionality to allow users to subscribe, or is there a feature that I can use for doing the subscription and unsubscription.

IF I have to custom code, do I need to follow the below steps or am I missing something.

1) Essentially when on a publish instance user selects subscribe, add that user to the list created for sending the newsletter(maybe using some API).

2) Then sync up that info back to author and publish it back to all publish instances so that all instances know that the user is now a member of the newsletter receiving group.

Appreciate if someone can guide the right way to use the functionality.

1 Accepted Solution

Avatar

Correct answer by
Level 9

If you are doing simple newsletter subscription, you don't have to write any custom code. Please check whether you have email configured and not blocked by any firewall .

Please read the newsletter documentation

http://docs.adobe.com/docs/en/cq/5-6/wcm/campaigns/newsletters.html#Creating%20a%20newsletter

View solution in original post

4 Replies

Avatar

Correct answer by
Level 9

If you are doing simple newsletter subscription, you don't have to write any custom code. Please check whether you have email configured and not blocked by any firewall .

Please read the newsletter documentation

http://docs.adobe.com/docs/en/cq/5-6/wcm/campaigns/newsletters.html#Creating%20a%20newsletter

Avatar

Level 10

AEM - Adobe Compaign integration is right fit here to implement subscription & unsubscription of mails/news letter.  With Cq alone need to implement custom code in the lines you have highlighted.  Just make sure to store the subscription/unsubscrition request in user profile node itself.

Avatar

Level 2

Hi MShajiahmed,

I am able to setup the newsletter and am able to send the newsletter to an email address. That part works pretty fine.

It is the subscribing to newsletter and unsubscribing that I am having questions on.

http://docs.adobe.com/docs/en/cq/5-6/wcm/campaigns/newsletters.html#Subscribing%20to%20a%20newslette...

The link above does not provide good enough information but immediately after the section there is another section about landing page that talks about sign up for newsletter. I am not sure if that is the part that needs to be followed for allowing subscription to newsletter. It however does not talk about syncing up the user profile info back to the author so that the author sending the newsletter is aware of all the subscribed users etc. It talks about a workflow to add the user to the appropriate group/list, but nothing more than that.

Let me know if I am missing something ...

Avatar

Level 2

Thanks for the response Sham.

Did you mean that I have to write custom code and also setup launchers/workflows to reverse replicate the information back to author regarding a user's subscription to a newsletter?

Also, for subscribing a user to the newsletter, do I need to import them as a lead and then add them to the newsletter list?

Appreciate your help.