Skip to main content

Posts

SFMC Daily #2: 5 SFMC Interview Questions for Today

Recent posts

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"]); </...

Ampscript for Beginners

AMPscript is a scripting language that you can embed within HTML emails, text emails, landing pages, SMS messages, and push notifications from MobilePush. The system processes the script at the point where you include it in the message to render content on a subscriber-by-subscriber basis. You use AMPscript to include information from your data extensions in your messages and to update data extensions with information from your landing pages. Ampscript can be used to personalize the email to include the individuals information like first name. For this in your email include - Dear %%first_name%%, ..................... where first_name is the data extension field name. Ampscript can also be used to  in a landing page to interact with the web service SOAP API to create a triggered send . %%[ var @emailaddr, @ts, @tsDef, @ts_subkey, @ts_sub, @ts_statusCode, @errorCode SET @emailaddr = "help@example.com" SET @ts = CreateObject("TriggeredSend") SET @tsDef = Cr...

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.

SFMC Mystery #1: Interview Quiz

SFMC Mystery is a Puzzle to help ace your interview in SFMC. Lets solve the below questions and help find Astro !!!  1. ___________ is a list of subscribers who have opted-in to receive the communications. 2. _________ and _________ are two different ways to segment the data. 3. __________, __________ and _________ are the three steps to send the data from SFMC to FTP using automation studio? Answers below ... Answers below.... Answers: 1. Publication Lists 2. Data Filters  , SQL 3.  SQL (will store the data in a Data extension), Data Extract (Data extension extract option),  File Transfer (Safehouse to FTP)

SFMC Daily #1: 5 SFMC Interview Questions for Today

Welcome to SFMC Daily.  SFMC Daily is a short blog of 5 Q/A which will help you keep up to date with your SFMC Interviews. Lets solve the SFMC Puzzel with Astro !!! Q- How does Dynamic Email work? You can define a dynamic content block in an email to display (render) information based on the subscriber’s attributes, data extension values, or audiences. Two ways: 1.    you can build a dynamic content block adding rules by point and click in email editor 2. using ampscript if else as well we can achieve this. Q- Name the entry sources in Journey Builder. Journey Builder Entry Sources include: Data Extension : contacts in a sendable data extension (the most commonly used). Salesforce Data:  contacts are added to the entry source, driven by something happening in Salesforce (eg. a record being created or updated). Audience:  if you’re using Audience Builder to create and publish audiences. Event:  for date-based events (eg. birthdays, anniversaries, reminders, ...

Dataviews in SFMC

Course Link : Why use Data view ? Query data views using Automation Studio for up to six months of Marketing Cloud subscriber and journey information. Few Most Used Dataviews: Open Dataview:  Query this data view in Automation Studio to find email opens for your Marketing Cloud account. Sent Dataview:  Query this data view in Automation Studio to find the subscribers sent emails from your Marketing Cloud account. Job Dataview:  Query this data view in Automation Studio to find data on Marketing Cloud email send jobs. Sample Query: Data Views to retrieve how many times a user opened an email in the last 60 days. SELECT o.SubscriberKey as email , COUNT ( * ) as Count_Opens FROM _Open o WHERE o.JobID IN ( SELECT distinct s.JobID FROM _Sent s WHERE s.EventDate > convert ( date , getDate() -60 ) ) and o.isunique = 1 GROUP BY o.SubscriberKey Dataview Schema Table -  https://sfmarketingcloudhome.files.wordpress.com/2021/02/dataviews_2...