Free code kit
Copy-ready SQL segments for your next send.
A code kit for people who write SQL Query activities in Salesforce Marketing Cloud. Twelve recipes for engaged contacts, bounces, unsubscribes and duplicates, each with its target data extension.
What you get.
- How a SQL Query activity works, with the three data actions explained
- Four recipes for who clicked, who opened and who never clicked
- Recipes for one send, recent bounces and recent unsubscribes
- An Update recipe that keeps your own unsubscribe history
- A join to your own data extension, plus a way to leave out suppressions
- A duplicate remover that uses GROUP BY and MAX
- A daily click log that uses Append
- What Salesforce says about data view retention and time zones
- A checklist to run before any recipe goes on a schedule
Who it's for.
Marketers and marketing ops people who build segments in Marketing Cloud with SQL, and anyone who has a query that needs a second look. You get working patterns to adapt, with the limits from Salesforce's own documentation next to each one.