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
Code:
[[!camapignmonitor.ifSubscribed &email=`[[!members.useremail]]` &listId=`the list id` &then=`[[$subscriberContent]]` &else=`[[!camapignmonitor.subscribe &listId=`the list id`]]`]]

TOLRA Mail
Code:
[[!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
Post Reply 


Forum Jump:


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