I would like to use Google Analytic's visitor flow to understand the behaviour of my visitors.
My current visitor flow looks like this:
As you can see, my URL structure is not really friendly to this tool, and thus I'm having a hard time extracting any useful information from there.
I've seen that analytics.js allows us to send custom variables, including overriding the path.
I guess that I could override the path to give all pages of the same type a common (fake) path, something like:
/restaurant/123/index => /restaurant /restaurant/456/index => /restaurant /restaurant/123/order => /order /restaurant/456/order => /order
but I would be losing the potentially precious information that the original path represents.
Is it possible to send a custom variable to Google Analytics instead, and have the visitor flow use the custom variable instead of the path when displaying the above flow?