I what to create Journey that its actions/splits are based on user engagements taken place at my landing page (CloudPages).

For example, when a user clicked on button or link or even if user had only arrived at our landing page. How can this task be solved?

Can I create a click event (or other) using AMPScript? because if so, I could write that event to a DE and then address it from my Journey(s)


As AMPscript is interpreted on the server side you cannot directly track clicks or similar interaction via AMPscript.

However, you could create client side JavaScript code, that initiates a background request to a separate "processing" CloudPage. That processing page writes the interactions to a data extension. In the decision split you can then check the data contained in the cloud page's data extension.

Useful documentation to implement this solution:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.