20
Interactive Training – Hot Salsa Jake Patoski Training and Online Learning Coordinator

Hot Salsa training webinar presentation

Embed Size (px)

DESCRIPTION

Like doing custom work and playing with code? Learn how to create some of the most-requested custom reports, and get some tips on how to use the SalsaScript API to create some cool custom items.

Citation preview

Page 1: Hot Salsa training webinar presentation

Interactive Training – Hot Salsa

Jake PatoskiTraining and Online Learning Coordinator

Page 2: Hot Salsa training webinar presentation

webinar contents

- custom content items- sign-up pages- donation pages

- conditional content in emails- custom reports

- donors who gave >$50 and <$100 in 2010- total number of actions taken in a group in 2010- Number of opens and CTs in the past 6 months

Page 3: Hot Salsa training webinar presentation

getting started

Login to your own account (in order to use real data)

OR login here: https://hq-salsa.wiredforchange.com/salsa/hq/login.jsp

Email address: [email protected]: salsatraining

Page 4: Hot Salsa training webinar presentation

CAVEAT

Salsa Support on the following features is LIMITED.

The Support staff may provide recommendations but generally cannot be expected to provide a complete resolution to custom solutions as covered in this webinar.

Page 5: Hot Salsa training webinar presentation

custom content items

1

2

3

Page 6: Hot Salsa training webinar presentation

custom content items

Add any one-step Salsa pages here: Sign-ups, Donations, Petitions

Page 7: Hot Salsa training webinar presentation

custom content items – donation pages

Must create a donation page to serve as a template.This allows you to set the merchant gateway, among other important factors likeTracking codes, allowed values, and base user info.

Page 8: Hot Salsa training webinar presentation

custom content items – sign-up pages

Can create a sign-up page as a template, or create from scratch:<form method="POST" action="http://sample.nodeurl.tld/dia/processEditValues.jsp"> <input type="hidden" name="organization_KEY" value="YOUR+ORGANIZATION+KEY" /><input type="hidden" name="table" value="supporter" />Email Address: <input type="text" name="Email" /><input type="submit" value="Join Mailing List" /></form>

Page 9: Hot Salsa training webinar presentation

custom content items

Have to include all <form> code:

Configuring redirects and autoresponses in custom content:

<input type="hidden" value=”--" name="redirect" />

<input type="hidden" value=“--" name="email_trigger_KEYS" />

Page 10: Hot Salsa training webinar presentation

conditional content

Conditional content options:- Merge fields- Group membership- Donation history- Custom options

Page 11: Hot Salsa training webinar presentation

conditional content

Page 12: Hot Salsa training webinar presentation

conditional content – merge fields

Page 13: Hot Salsa training webinar presentation

conditional content – merge fields

1

2

Put brackets around the API name, insert into email

Page 14: Hot Salsa training webinar presentation

conditional content – merge fields

Page 15: Hot Salsa training webinar presentation

conditional content – group membership

Page 16: Hot Salsa training webinar presentation

conditional content – group membership

To add an additional group membership clause, edit the Salsa Script by viewing the source, then add the highlighted section:<? var groupList=supporter.getObjects('groups'); var groups=new Object(); for each (g in groupList){groups[g.groups_KEY]=true;}

if (groups['42199']!=null){?>Dynamic content for Group A<?

} else if (groups[‘51815’]!=null) {     ?>Second group content<?

}else{?>All other groups.<?

}?>

Page 17: Hot Salsa training webinar presentation

conditional content – donation history

Page 18: Hot Salsa training webinar presentation

conditional content – custom options

Read more: http://salsacommons.org/o/8001/p/salsa/website/public2/commons/dev/docs/lang/embedsjs.sjs

State:<?var supporterInfo=supporter.getObjects("supporter");for each (s in supporterInfo) {  if (s.State=='VA') {     ?>Viginia state supporters ...<?  } else if (s.State=='DC') {     ?>DC residents should...<?  } else {     ?>we don't have state information for you please update your profile<?  }

}?>

Zip code:<?var supporterInfo=supporter.getObjects("supporter");for each (s in supporterInfo) {  if (s.Zip=='22003') {     ?>Viginia state supporters ...<?  } else if (s.Zip=='20009') {     ?>DC residents should...<?  } else {     ?>we don't have zip information for you please update your profile<?  }

}?>

Others?

Page 19: Hot Salsa training webinar presentation

custom reports

12

1. donors who gave >$50 and <$100 in 2010

2. total number of actions taken in a group in 2010

3. Number of opens and CTs in the past 6 months

Page 20: Hot Salsa training webinar presentation

Contact Us:[email protected]@salsalabs.com

www.salsalabs.com

Next Steps:Videos:www.youtube.com/salsalabsinc

Documentation:SalsaCommons.org -> Learn sidebar

Next webinar:SalsaCommons.org -> Classes & Events

sidebar