Tree editor
Create your tree’s structure and name the labels to make your tree.
Learn how to set up and use UXtweak
Explore possibilities with demo studies and results
Export and analyze insights faster. Sync your favorite tools with UXtweak
Resources for mastering research, design and product
Definitions of UX terms and phrases
UX insights and tips to sharpen your skills
Studies published in peer‑reviewed journals and industry publications.
Watch our quick, educational UX videos
Listen to top researchers share their stories, wins, lessons
This section covers how to use the Tree tab to:
Create your tree’s structure and name the labels to make your tree.
Do you already have a website with a tree-like structure, like a menu? Then you can just import it into Tree Testing right away with this extremely handy utility!
Insert the URL to the page where your tree-like structure can be found.
Select whether you want to identify the tree on the page by id or class.
If you picked id, insert the id of the desired element. If you picked a class, insert space-separated classes (at least one) as well as the tag name.
Click “Load tree” and witness magic happen.
Of course, the HTML representation of trees can be complex, but if there are any inconsistencies with what the tree used in the tree test should look like, tweak it until you’re satisfied. This feature will save you from tons of work that it would be to copy the whole tree by hand.
Does your menu have a very specific structure? Is the DOM of your website too complex for simple automatic tree loading to handle? No problem, you can simply UXtweak your tree.
To UXtweak your tree, simply add a data-uxtt
attribute to the DOM elements containing the path to the element within the tree, like so:
<ul>
<li data-uxtt="0">Node A</li>
<li data-uxtt="1">
Node B
<span data-uxtt="2-1">Node CB</span>
<span data-uxtt="2">Node C</span>
</li>
<span>
<span>
<span data-uxtt="2-0">Node CA</span>
</span>
</span>
</ul>
which will get you a tree like this:
Even a complex DOM structure can be easily loaded if you UXtweak the tree.
Above the tree editor, there is an option to import and export trees stored in a .CSV file. Use this option to easily reuse your tree between Tree Testing studies or if you want to bring in trees created somewhere other than UXtweak’s tree editor.
Use UTF-8 encoded CSV files to ensure that the import works correctly. The simplest way to save your imported file with UTF-8 encoding is to edit it through Google Sheets (click the link for more instructions). To get a UTF-8 encoded file when saving your file in Excel, go to File -> Save As and select CSV UTF-8 before you click Save.
CSV file format example