I'm trying to add custom data to my Google Analytics in a wordpress application I'm working on. I've got courses for a bunch of different colleges, and whenever the user interacts with one, I want to send a pageview with which college that course is at.
Here's how I'm sending it in javascript:
ga('set','metric1',<?php echo $college->ID;?>);
ga('send', 'pageview');
In the admin side of my analytics site, I have the custom metric scoped to Hit. here's what that looks like: imgur.
Whenever I navigate to a page with that code (it's in a template) while recording with Tag Assistant, you can see that the custom metric is being sent correctly.
However, on the analytics side, I tried to create a table to show pageviews per page where college = 4 (the ID of the specific college I'm testing) but it's not working.
In fact, if I go to the All Pages report, the page I'm trying to test doesn't even show up.
Where am I going wrong?