Working with URLs

Note: For flexibility across pages, URL structure changes are not saved as part of segmentation.

An advanced feature of the heatmap tool is the ability to segment by URL structure. Many websites have random, dynamic URLs such as: mystore.com/products/shoes/view?id=ji3oafjs. By default, the heatmap would try to load a heatmap for that specific product page ID. This makes it easy to see a heatmap for the exact page you are looking at, but it can be useful to aggregate across multiple pages.

Hosts, paths, queries, and fragments

The heatmap tool is smart about URLs and splits them up into different parts to make it easier to modify specific parts of the URL structure. The following shows what part of the URL each label represents:

Changing the structure

In the above example, if you'd rather aggregate data from all product pages into the same heatmap, you can change the URL structure used to segment visitor data: