Skip to main content
7 events
when toggle format what by license comment
Apr 19, 2012 at 16:40 comment added AlxVallejo Didn't see that, thanks! It's a shame you can't drill down from post_type to see what the actual page was.
Apr 19, 2012 at 16:39 vote accept AlxVallejo
Apr 19, 2012 at 15:32 comment added mrwweb The category is post_type. In the report, it's found in Audience > Demographics > Custom Variables.
Apr 19, 2012 at 14:10 comment added AlxVallejo My question revolves around filtering posts and pages. Sure, the Yoast plugin will track post type as a custom variable, but the arguments for a custom variable are: gaq.push(['_setCustomVar', $slotNumber, $Category, $Value, $ScopeLevel ]); . Therefore, if I'm running a filter in Google Analytics based on the custom variable, what is the $Category I'm looking for? I would imagine it's something like "post_type" but I don't see any documentation on this.
Apr 19, 2012 at 4:00 comment added mrwweb If I understand your question right, and you're trying to write your own custom variable, you want get_post_type().
Apr 19, 2012 at 0:52 comment added AlxVallejo I guess I'm stuck at what Custom Variable (Key 1) would be
Apr 18, 2012 at 23:58 history answered mrwweb CC BY-SA 3.0