Your code is working fine for me. I assume by dashboard you are referring to the real-time one? If it's showing up in there fine, including the dimensions you are passing, then you are all good.
I'd say give it a couple of days, GA Universal processing is quite slow.