Skip to main content
All CollectionsAdvanced HelpSystem
Why Third-Party JavaScript is Restricted on Checkout Pages
Why Third-Party JavaScript is Restricted on Checkout Pages

Can't see your JavaScript on the checkout page? This may be why.

Niall Diamond avatar
Written by Niall Diamond
Updated this week

For security reasons, third-party JavaScript is not permitted on the checkout page. Allowing external scripts during checkout can introduce security vulnerabilities, including potential data leaks, unauthorized access, or performance issues that may disrupt the checkout experience.

If your goal is to track orders, you can integrate your tracking scripts on the Thank You page instead. This page contains order details and can be accessed via the datalayer, which provides a secure and structured way to capture transaction data without compromising security.

By utilizing the datalayer on the Thank You page, you can collect essential metrics such as order value, items purchased, and customer interactions while keeping the checkout process secure. If you need help with implementation, consider referring to your platform’s documentation on datalayer integration.

Datalayer Google and More

If you are looking for more information on tracking orders information, see our article on Google Ecommerce App or the Datalayer for Third party tracking.

User data on other pages - EvoXLayer

EvoXLayer can be used to get user data on most other pages of the site.


Have a great day! 🎉


Did this answer your question?