Kudos to my colleague Carlos Hinojosa who discovered that to view a page-level custom variables in Google Analytics, you need to specify explicitly the metric and dimensions in a custom report. That is the reason why the default dashboard will not show page-level custom variables, yup, we get stuck for a while in this point!!.
Anyway, to create a custom report to see a page-level custom variable all you need to do is, in Google Analytics, under the Customization tab, click +New Custom Report and fill the next fields as follow:
Under Report Content section:
- Metric Groups: Add PageViews option, is under Users group, to get the # of visits.
- Dimension Drilldowns: Add the desired custom variable, in our scenario, is the #4, then, since the purpose of the report is to get the values of the variable, you need to select as a nested dimension, the value of the selected custom variable.
Is recommended to add the custom report to a specific view, but is optional. Finally, the fields of your new report should looks like:
Click on Save, and if all was selected correctly, the report should display the data, once is captured by Google anaylicits, of course, like the following screenshot:
Tip: You can use: Google Analytics Debugger to check in real time if your custom variable is working and to not wait until the values are reflected in the report.
Note: In our scenario we wanted to be sure that the custom variable # 4 be sent.
I really hope you find this information useful.