Part - 2
Q: What is the maximum data size that can be stored in a field within a Data Extension in Salesforce Marketing Cloud (SFMC)?
In most cases, a field length of 255 characters should suffice. However, if needed, Marketing Cloud allows text fields in a Data Extension to store up to 4000 characters.
Additionally, while there is no limit on the number of rows in a Data Extension, it is best practice to limit Data Extensions to fewer than 30 million rows.
Q: How much data is needed to use Einstein Send Time Optimization (STO) in Salesforce Marketing Cloud?
To use Einstein Send Time Optimization (STO) in Salesforce Marketing Cloud, you need 90 days of engagement data. This includes metrics like the number of emails sent, opened, and the days they were opened. Einstein uses this data to predict the best send times for each contact.
Q: State the Difference between InsertDE and InsertData AMPScript function?
InsertDE():
InsertDE() function inserts rows into a data extension without returning any output.
It’s typically used to insert data from emails into a data extension.
Syntax:
InsertDE(dataExt, columnName1, valueToInsert1, [columnName2, valueToInsert2, ...])
InsertData():
InsertData() function inserts data from CloudPages, landing pages, microsites, and SMS messages in MobileConnect into a data extension.
It returns the number of rows inserted.
Syntax:
InsertData(dataExt, columnName1, valueToInsert1, [columnName2, valueToInsert2, ...])
Q: What is the order of AMPscript evaluation or execution prior to sending an email??
AMPscript is evaluated in a specific order before an email is sent.
The evaluation follows these steps:
Preheader
HTML body
Text body
Subject line
This means that any variables or functions you declare in the HTML body can be used in the subject line, but not the other way around. This order ensures that all necessary data is processed correctly before the email is sent out.
Q: How to calculate CTOR (click-to-open rate)?
Click-to-Open Rate (CTOR) measures how engaging your email content is for those who open it.
How to Calculate CTOR in Salesforce Marketing Cloud (SFMC):
Get Tracking Data: Look at the tracking data for your email campaign.
Find Unique Clicks: Count the unique recipients who clicked a link in the email.
Find Unique Opens: Count the unique recipients who opened the email.
Formula To Calculate CTOR
CTOR = (Unique Clicks / Unique Opens) × 100
This gives you the CTOR as a percentage.
Q: Write an SQL query to get the last 1 month email sent data from an account?
To get the last 1 month of email sent data from an account in Salesforce Marketing Cloud (SFMC), you can use the following SQL query.
SELECT
j.jobid,
j.emailname,
se.eventdate,
s.subscriberkey,
s.emailaddress
FROM
[_job] as j
INNER JOIN [_sent] as se
on j.jobid = se.jobid
INNER JOIN [_Subscribers] as s
on s.subscriberid = se.subscriberid
WHERE
se.eventdate > Dateadd(day, -30, Getdate())
Q: How can you verify if an email has been sent in Salesforce Marketing Cloud (SFMC) Journey Builder?
To verify if an email has been sent in Salesforce Marketing Cloud (SFMC) Journey Builder, follow these steps:
Open Journey Builder and navigate to the specific journey you want to check.
Click on the email activity within the journey to open its performance metrics.
Click on the “View Details” button to access the Email Performance tile, where you can view metrics such as opens, clicks, bounces, and unsubscribes.
Alternatively, you can track email sends using other methods:
Tracking Section in Email Studio: Find the JobID associated with the email send. This will give you detailed tracking information, including whether the email was sent, bounced, or encountered any errors.
Data Views: For a more detailed analysis, query the _Sent data view to see which subscribers received emails. This includes information like JobID, SubscriberID, and EventDate.