Salesforce Marketing Cloud often gets stuck or slowly adds new features and fixes platform issues. That is why we, as technical consultants, need to find ways to work around obstacles we encounter and make our lives a bit less stressful.
Today, I will show you how to test your scripts - or even entire CloudPages - using a simple trick that many people still don't know about.
Create and publish a cloud page with only content in it:
%%=TreatAsContent(ContentBlockByKey("external_key"))=%%
Create content block with you desired content for cloud page or any script that you want to test before you plug it into automation.
What are the benefits?
This way, your CloudPage will always have the latest content, so there is no more guessing whether it has been refreshed or if you are looking at old content.
You can also easily spot automation errors by adding a try-catch block.
To read more articles from the world of marketing automation, visit my blog. It is full of technical articles that will surely help you upskill.
Top comments (0)