There are several ways to measure UX. See the list below:
How straightforward it takes visitors to navigate through the interface and perform the desired action.
How long it takes users to accomplish tasks from start to finish.
How easy it is for users to remember how to move around the site when they return.