慣性聚合 高效追讀感興趣之博客、新聞、科技資訊
閱原文 以慣性聚合開啟

推薦訂閱源

博客园 - 司徒正美
V
V2EX
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
月光博客
月光博客
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python)
追踪数据提取与数据视图之辨:自SFMC中取数据
SapotaCorp · 2026-05-24 · via DEV Community

客欲其分析师之众,悉有追踪之事件于其数据之仓。每发而自追踪之CSV导出,非可久也。二器,本于SFMC,可应大宗追踪之导出:

  1. 追踪数据之萃取 - 自定时刻而导至SFTP
  2. 对数据视之SQL查询活动 - 直于SFMC内,询追踪之事

二法皆可。所系于数据所归之地。

选项一:追踪数据提取

自动化之室>数据提取之务>追踪提取类型。择数据之类型与日期之范围;SFMC乃书一CSV于Safehouse。继而File Transfer Activity推之至客户之SFTP。

所支持之类型:

  • 启之
  • 点击
  • 回弹
  • 解约
  • 诉冤(诘报)
  • 未送

寻常之自动化也。

Schedule (daily or weekly)
  -> Data Extract Activity (Tracking Extract, date range: yesterday)
  -> File Transfer Activity (push CSV to client SFTP)

入全景模式 出全屏模式

输出为平铺CSV,每事件一行。分析师载入其仓库并查询。

留存优势:追踪提取可拉取数年之数据,若未届淘汰期。部分事件于SFMC留存两年——于其淘汰前提取之。

选项二:对数据视图之SQL查询活动

数据视图乃SFMC之系统表,用以存储追踪之数据。当以SQL查询活动询之,将结果书于DE.

数据视

_Sent

每封尝试之邮件

_Open

每启之事件

_Click

每点之事件

_Bounce

每退之事件,兼有退类型

_Unsubscribe

每解之订阅

_Complaint

每报之垃圾

_Job

發送任務元數據

_Subscribers

所有訂閱者名單

例如:過去三十日開啟過任何郵件的訂閱者:

SELECT DISTINCT SubscriberKey, EmailAddress
FROM _Open
WHERE EventDate >= DATEADD(DAY, -30, GETDATE())

進入全屏模式 退出全屏模式

寫入至DE。以DE為:

  • 再活躍營銷活動的目標群體
  • 頝外SQL分析的來源
  • 外系文件滴入之输入

何时择何

工具

导出至客户数据仓库

追踪数据提取兼文件传送

自追踪建内部SFMC段

SQL查询活动

一次性历史拉取

追踪数据提取

正依参与度分群

SQL查询活动

供SFMC外分析师之数据

追踪数据提取

务使诸事皆在SFMC内

SQL查询活动

保留之限

  • 数据视图之默认保留:六月
  • 部分事件数据:至多二载(视契约而定)
  • :追踪数据提取范围:仅限于所存留者——不可取已逝者

:法则:于合作之初即设存档自动化。每周提取_Open_Click_Sent_Bounce,入客户之仓库或存档DE。至第六月,则万物皆备于存档矣。

存档格式

若客欲于SFMC内追踪逾二载之查询:

Weekly archive automation:
  Schedule (Monday 2am)
  -> SQL Query Activity: SELECT * FROM _Open WHERE EventDate BETWEEN X AND Y INTO Archive_Open DE
  -> SQL Query Activity: Same for _Click, _Sent, _Bounce

全屏模式开启 全屏模式退出

存档之DE随岁月增,然不至朽。跨存档与活数据之查询,得享永续之存留.

仓库存档(SFMC外):

Daily export:
  Schedule (daily 1am)
  -> Data Extract Activity (each tracking type, yesterday's data)
  -> File Transfer Activity (push to client SFTP)

全屏模式开启 退出全屏模式

二者皆可,择其适下游分析处而用之

常见谬误

早期未归档

客户于十月份索求去年之活动数据,已失。数据视存留止于六月份

修正:自首日即行归档,非待他人索求而后为之

欲自SFMC之外查询数据视图

數據視圖者,SFMC內部系統之表也。不可直連BI工具。必先導出之。

设诸数据视域皆等

_Sent异存之_Open且二者皆异_Subscribers欲许日期之期,先览己帐之存档。

索引无有,数据视之相合

若SQL查询于大数据视图中操作(如百万行以上),若非采用所支持之联结模式,则易超时。宜使查询简明且加筛选;凡可,皆用主键。

重续之策,源自数据之观

寻常之用,乃寻九十日未启之订阅者,纳入重续之旅。

SELECT s.SubscriberKey, s.EmailAddress
FROM _Subscribers s
LEFT JOIN (
  SELECT DISTINCT SubscriberKey
  FROM _Open
  WHERE EventDate >= DATEADD(DAY, -90, GETDATE())
) o ON s.SubscriberKey = o.SubscriberKey
WHERE s.Status = 'Active' AND o.SubscriberKey IS NULL
INTO ReEngagement_Candidates_DE

入全屏模式 出全屏模式

按周排程。旅程构建者自复活候选者DE(ReEngagement_Candidates_DE)中读取,并触发复活系列。

便当

货物追踪数据提取,供客户仓库及外部系统使用。SQL查询活动针对数据视图,用于内部细分及SFMC分析。二者多数情况下协同运作。宜早设存档自动化——否则,唯恐告知客户其年旧之活动数据已失。


架构SFMC数据输出与存档之策乎? 吾Salesforce之众,于生产之务,运踪迹之管,谋存留之策。 联吾,>

观吾全 平台之务,所覆之栈。