Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newsletter Subscriber Benefits
07-29-2013, 10:17 AM
Post: #1
Newsletter Subscriber Benefits
If you need to offer additional content to users that have subscribed to your newsletter then it's easy when you're using Camapign Montior or our own TOLRA Mail.

If the additional content is in the chunk subscriberContent then you can use the following to display it to users that are subscribed to your newsletter. While if the users are not subscribed then they are shown the newsletter subscription form.

Campaign Monitor
[[!camapignmonitor.ifSubscribed &email=`[[!members.useremail]]` &listId=`the list id` &then=`[[$subscriberContent]]` &else=`[[!camapignmonitor.subscribe &listId=`the list id`]]`]]

[[!tolramail.ifSubscribed &email=`[[!members.useremail]]` &listId=`the list id` &then=`[[$subscriberContent]]` &else=`[[!tolramail.subscribe &listId=`the list id`]]`]]

You need to replace `the list id` with the ID of the mailing list that you're checking against.

Note: Users do have to be logged in for the above to work as their email address is required.

clearFusionCMS Lead Developer
Find all posts by this user
Quote this message in a reply
10-10-2017, 08:01 PM
Post: #2
RE: Newsletter Subscriber Benefits
Hey, just wanted to let you know that this code is still viable. I tried it out a few weeks ago and it works like a charm Smile Have a nice day - Michelline.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)