Posts

Cloudpage code resources - add a interactive experience that was built for our site into Cloudpage

Ashleigh Willard (Nationwide Insurance)   I am trying to add an interactive experience that was built for our site into Cloudpage. I received the files with the code sources from my vendor and it looks as though there are 60+ .js files. Is there anything that I can do to upload this all at once or am I going to need to minify them or upload them separately. Any help or suggestions on this would be super helpful! Thank you. Christopher Barrett (Digital Toulouse) Hi Ashleigh, my initial thoughts are do you really need 60+ js files for your cloud page? I would imagine a few common js files like bootstrap, jquery, and some UI component libraries. Other than these types of files, on a SFMC cloud pages the number of js files isn't often that numerous. I don't know your context, but it might be worth doing an initial audit to see what you really need. If you can reduce the number of files then this will always save on maintenance and debugging. I guess when you say that you are buildi...

What are the best practices for designing email templates that work on all devices?

  Use responsive design: Responsive design is a technique that adapts your email layout and content to the screen size and orientation of the device your subscribers are using. Responsive design ensures that your email looks good and functions well on any device, without requiring you to create multiple versions of the same email. To use responsive design, you need to use HTML and CSS code that can adjust the width, height, font size, images, and other elements of your email based on media queries . Media queries are rules that tell the browser how to display your email depending on the device's characteristics. You can use online tools or email service providers that offer responsive design templates to help you create and test your responsive emails. Optimize your images Images can enhance your email's visual appeal and convey your message more effectively, but they can also cause problems if they are not optimized for different devices. Images that are too large can slow dow...

Implementing Direct Email Subscription for Waiting List in SFMC

  Hello,  I'm working on an email campaign using Salesforce Marketing Cloud (SFMC) where I intend to invite customers to join a waiting list. However, I want to avoid directing them to a separate landing page for email collection, as it seems redundant to request their email again. Is there a way to design the campaign so recipients can subscribe directly through a Call-To-Action (CTA) in the email itself? Essentially, I'm looking for a method to capture their email address and subscription intent through a simple click on the CTA (CTA will lead to a basic Thank you landing page). The collected list will be used for sending out exclusive promo codes in the future. Appreciate any insights or solutions!   Thank you. Aymeric Paray Shashi Prasad (Merkle) You can add ampscript or ssjs in your thank you and on page load you can capture the details. Here is an example : <html> <head> %%[ var @subscriberKey,@emailAddress set @subscriberKey = Attrib...

Translated SmartCapture

  Heather Correa (Marketing Technology Manager at CJ) Translated SmartCapture I have a form in French and while I want the values to display in French, when submitted the values should be in English in the data extension. Is this possible? Lukas Lunow (A.P. Moller Maersk | Ex-Salesforce) My suggestion would be to build the smart capture in English, using the standard interface. Then use JS/jQuery to update the front end labels, drop downs, etc. to the language according to visitor's preferences.  <label for="pets">Your favourite pet:</label> <select id="pets" name="pets"> <option value="cat">Cat</option> <option value="dog">Dog</option> <option value="horse">Horse</option> </select> Without going into details of jQuery (there are countless examples out there) you could use following function to replace the values: $('select option:contains("Horse"...

Are all synchronized Data extension data will be in all contacts?

Are all synchronized Data extension data will be in all contacts? For account object 60k and contact have 50k so will all the records be part of all contacts and total would be 110k? Nobuyuki Watanabe  The objects that are stored in all contacts are only  Contact, Lead, and User . The account is not included, so if there are 50k contacts, all contacts will be 50k. Additionally, please carefully check the numbers of Lead and User.   https://help.salesforce.com/s/articleView?id=sf.mc_cab_contact_definition_and_count_determination.htm&type=5