Client wants their analyst team to have every tracking event in their data warehouse. Clicking CSV export from Tracking for each send doesn't scale. Two SFMC-native tools handle bulk tracking exports:
- Tracking Data Extract - automated exports to SFTP on a schedule
- SQL Query Activity against Data Views - query tracking directly within SFMC
Both work. Which depends on where the data needs to land.
Option 1: Tracking Data Extract
Automation Studio > Data Extract Activity > Tracking Extract type. Pick the data type and date range; SFMC writes a CSV to the Safehouse. Then File Transfer Activity pushes it to the client's SFTP.
Types supported:
- Sent
- Opens
- Clicks
- Bounces
- Unsubscribes
- Complaints (spam reports)
- Not Sent
Typical automation:
Output is flat CSV with one row per event. Analysts load into their warehouse and query.
Retention advantage: Tracking Extract can pull years of data if it hasn't aged out. Some events retain 2 years in SFMC - extract them before they age out.
Option 2: SQL Query Activity against Data Views
Data Views are SFMC's system tables storing tracking data. Query with SQL Query Activity, write results to a DE.
Data ViewContains_SentEvery email attempted_OpenEvery open event_ClickEvery click event_BounceEvery bounce, with BounceType_UnsubscribeEvery unsubscribe_ComplaintEvery spam report_JobSend job metadata_SubscribersAll Subscribers list
Example: subscribers who opened any email in the last 30 days:
Writes to a DE. Use the DE as:
- Audience for a re-engagement campaign
- Source for additional SQL analysis
- Input to a File Drop for external systems
When to pick which
NeedToolExport to client's data warehouseTracking Data Extract + File TransferBuild internal SFMC segments from trackingSQL Query ActivityOne-time historical pullTracking Data ExtractOngoing segmentation based on engagementSQL Query ActivityData for analysts outside SFMCTracking Data ExtractKeep everything inside SFMCSQL Query Activity
Retention limits
- Data Views default retention: 6 months
- Some event data: up to 2 years (depending on contract)
- Tracking Data Extract range: limited to what's retained - can't pull what's gone
Rule: set up archive automation early in the engagement. Weekly extract of _Open, _Click, _Sent, _Bounce into the client's warehouse or into archive DEs. By month six, you have everything backed up.
Archive pattern
If the client wants 2+ years of tracking queryable inside SFMC:
Archive DEs grow over time but don't age out. Queries across archive + live data give unlimited retention.
For warehouse archive (outside SFMC):
Either pattern works. Pick based on where downstream analysis happens.
Common mistakes
Not archiving early
Client asks at month 10 for last year's campaign data. It's gone. Data View retention ended at month 6.
Fix: start archive on day one, not when someone asks.
Trying to query Data Views from outside SFMC
Data Views are internal SFMC system tables. You can't connect a BI tool directly. Must export first.
Assuming all Data Views retain equally
_Sent retains differently than _Open and both differ from _Subscribers. Read the docs for your specific account's retention before promising a date range.
Joining Data Views without indexes
SQL Query Activities on Data Views against large volumes (millions of rows) can time out if the query doesn't use the supported join patterns. Keep queries simple and filtered; use primary keys whenever possible.
Pattern: Re-engagement campaign from Data Views
Common use case - find subscribers who haven't opened in 90 days and include them in a re-engagement journey:
Schedule weekly. Journey Builder reads from ReEngagement_Candidates_DE and triggers the re-engagement series.
Takeaway
Tracking Data Extract for exports to client warehouses and external systems. SQL Query Activity against Data Views for internal segmentation and in-SFMC analysis. Both work alongside each other on most engagements. Set up archive automations early - the alternative is telling the client their year-old campaign data is gone.
Architecting SFMC data export and archive strategy? Our Salesforce team ships tracking data pipelines with retention planning on production engagements. Get in touch ->
See our full platform services for the stack we cover.