Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marketingclouded/2ac4243d37821434a8f5557ee1fd9136 to your computer and use it in GitHub Desktop.
Save marketingclouded/2ac4243d37821434a8f5557ee1fd9136 to your computer and use it in GitHub Desktop.
Tracking Email Performance in SFMC: Updates Rates in Email_Performance_Sched
SELECT
JobID,
CAST(Unsubscribes as DECIMAL(18,2)) / CAST(Sent AS DECIMAL(18,2)) * 100 AS 'UnsubRate',
CAST(Opens as DECIMAL(18,2)) / CAST(Sent AS DECIMAL(18,2)) * 100 AS 'OpenRate',
CAST(Clicks as DECIMAL(18,2)) / CAST(Sent AS DECIMAL(18,2)) * 100 AS 'CTR',
CAST(Bounces as DECIMAL(18,2)) / CAST(Sent AS DECIMAL(18,2)) * 100 AS 'BounceRate'
FROM Email_Performance_Sched
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment