fbpx
Skip to content

ampscript.xyz

  • How-tos
    • Automations
    • Cloud pages
    • Data Extensions
    • Emails
    • Forms
    • Journeys
    • Lists
    • — View all —
  • Tips and Tricks
    • AMPscript
    • SSJS
    • — View all —
  • SSJS Docs
  • About me

ampscript

How to create an expiration date for Cloud pages

Posted on Published 02/04/202405/27/2019 by Ivan Razine
How to create an expiration date for Cloud pages

An expiration date is used to prevent the customers from accessing a Cloud page and redirect them to another URL. Unfortunately, Marketing Cloud doesn’t provide this feature out-of-the-box, but thanks to AMPscript and server-side Javascript, creating a seamless expiration date flow is somewhat easy.

How to pre-fill a form with AMPscript

Posted on Published 02/04/202405/15/2019 by Ivan Razine
How to pre-fill a form with AMPscript

When a customer arrives on a Cloud page, having a pre-filled form with the information we know about the customer is crucial to a good user experience. Salesforce Marketing Cloud allows us to pre-populate forms with relative ease using only few lines of AMPscript.

How to claim a Coupon Code with AMPscript

Posted on Published 02/04/202405/09/2019 by Ivan Razine
How to claim a Coupon Code with AMPscript

Coupon codes or discount codes, how do we manage them in Salesforce Marketing Cloud? In short, it’s easy… But there is a catch!

How to prevent the Free Form from formatting AMPscript

Posted on Published 02/04/202405/02/2019 by Ivan Razine
How to prevent the Free Form from formatting AMPscript

Have you ever tried to insert AMPscript into a Free Form Content Block? Then you know for sure that they don’t like each other very much!

How to debug AMPscript and avoid Error 500

Posted on Published 02/04/202404/18/2019 by Ivan Razine
How to debug AMPscript and avoid Error 500

Although it’s the common belief that there is no way to easily debug AMPscript and avoid the pesky Error 500, it’s still possible!

How to read data from a Data Extension with server-side JavaScript

Posted on Published 02/04/202404/09/2019 by Ivan Razine
How to read data from a Data Extension with server-side JavaScript

In this article, I will show you how to create a Data Extension, fill it up with data and retrieve this data with server-side Javascript.

How to create links and redirects in Marketing Cloud

Posted on Published 02/04/202404/08/2019 by Ivan Razine
How to create links and redirects in Marketing Cloud

The matter seems trivial but still requires close attention when passing URL parameters.

How to create a Form Handler and avoid Smart Capture

Posted on Published 02/04/202404/08/2019 by Ivan Razine
How to create a Form Handler and avoid Smart Capture

A Form Handler is a web page which allows us to avoid the flawed Smart Capture feature and grants the freedom to create any kind of forms.

How to send an email with AMPscript

Posted on Published 02/04/202404/08/2019 by Ivan Razine
How to send an email with AMPscript

Creating a triggered email in Marketing Cloud is not an easy task. But once mastered, the process doesn’t take too much time.

How to protect your Cloud pages

Posted on Published 01/28/202404/08/2019 by Ivan Razine
How to protect your Cloud pages

What happens if your Cloud page is attacked by bots? There is a way to protect it, here is how…

Posts navigation

Previous page Page 1 Page 2 Page 3
Newsletter

Subscribe to my newsletter and stay tuned to the latest updates and articles!

© 2025 ampscript.xyz by Ivan Razine
  • Welcome
  • Privacy Policy
  • Contact

Manage Cookie Preferences

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience.


Necessary

Necessary cookies are crucial for the basic functions of the website and the website will not work in its intended way without them. These cookies do not store any personally identifiable data.


Analytics

These cookies allow us to count visits and traffic sources, so we can measure and improve the performance of our site. They help us know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous.


This website uses cookies

This website uses cookies to improve your experience while you navigate through the website. By clicking "Accept cookies", you consent to the use of ALL the cookies. However you may visit "Manage options" to provide a controlled consent.


Manage options