---
schema_version: "1"
id: 0dc0a8d43ba867fe4eb14ea8196cc14e5409d432de9279074888955fe0e5c54b
title: Use Server-Side JavaScript with AMPscript
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_useSSJSAMPscript.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_useSSJSAMPscript.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ceac3cb549905a34269f68ce33aee92e5c667ba8546373f6ac747a14b95f6016
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Use Server-Side JavaScript with AMPscript

Review the Server-side JavaScript Syntax Guide before reviewing associated page. You must be familiar with both AMPscript and server-side JavaScript before using the information in this document. While you can use AMPscript and JavaScript together, we do not encourage this as a best practice. This guide helps those with old AMPscript code make that code work in conjunction with server-side JavaScript as necessary. If you begin a landing page, you should use either server-side JavaScript or AMPscript for your project.
