Skip to main content

Data Views in SFMC

  




Data Views in Salesforce Marketing Cloud (SFMC) are system-generated, read-only data tables that store up to six months of tracking and subscriber data (sends, opens, clicks, bounces). They are accessed via SQL Query Activities in Automation Studio to segment, analyze, and report on campaign performance. 


Key Data Views to Know
  • _Sent: Records every email sent, including JobID and SubscriberID.
  • _Open: Tracks when a subscriber opens an email.
  • _Click: Contains data on link clicks within emails.
  • _Bounce: Lists hard and soft bounces.
  • _Subscribers: Provides subscriber status (Active, Unsubscribed).
  • _Journey: Details Journey Builder activity.
  • _BusinessUnitUnsubscribes:
How to Use Data Views

  1. Create a Data Extension to hold the query results.
  2. Create a SQL Query Activity in Automation Studio.
  3. Write the SQL selecting fields from the Data View (e.g., SELECT * FROM _Sent).
  4. Run the query to populate the Data Extension
Use Cases: Ideal for building exclusion lists, tracking engagement, and calculating campaign metrics. 

Retention: Data views generally only contain data for the last six months.

Comments

Popular posts from this blog

File Drop Automation

There are two different ‘types’ of automations you can make inside of Automation Studio. They are the Scheduled Automation and the  File Drop Automation .  These automations trigger when a file is dropped in a FTP location. File Drop Automation includes below options - Use File name pattern Similar to LIKE in SQL, the file name pattern looks for string in the file name.  Eg. '%abc%' No File name pattern If you set it to run on all files (no filename pattern), this will ‘lock’ that folder and will not allow any other file automations to select this folder.  It is not recommended to use the Import or Export folders  for this activity, but to instead create custom subdirectories for these automations.

Send Classification, Sender Profile and Delivery Profile Difference

Send classifications include these components: Delivery Profile Sender Profile You create the delivery profile and sender profile separately before you create the send classification.  Sender Profile A sender profile within Marketing Cloud Setup specifies the From information for a send in a central location. Marketing Cloud Email reuses that information across multiple sends without requiring selection each time. The sender profile contains the name and address that the message appears to be from in the subscriber's email client. Delivery Profile A delivery profile within Marketing Cloud Setup specifies the delivery information for a message in a central location. Marketing Cloud reuses the information, across multiple sends, without requiring selection of the information each time. When you create a delivery profile, specify the IP address to use. If you do not use a private domain, you select the account default. If you use one or more private domains, you can select the privat...

SSJS For Beginners

Marketing Cloud application uses JavaScript code processed by Marketing Cloud servers. Instead of using the browser to render the JavaScript on the client-side computer, Marketing Cloud executes the JavaScript on the server when rendering. Use Core server-side JavaScript functions to personalize landing pages and create applications to run on Marketing Cloud. Use Platform server-side JavaScript functions to work with messages, landing pages, and applications. You should exclusively use AMPscript or Platform object server-side JavaScript functions in email messages and reserve your use of Core library server-side JavaScript to landing pages and applications. You can use SSJS just like ampscript to insert data/update data into a Data Extension . <script runat="server"> var rows = Platform.Function.InsertData("CustomerData",["FirstName","LastName","Email"],["Joe","Smith","jsmith@example.com"]); </...