Tracking Metrics by User ID

Avatar

Avatar

robertw54618073

Avatar

robertw54618073

robertw54618073

17-09-2019

Hello,

While (still) in DTM, I'm trying to filter our metrics by the Account Name and Account Number associated with each visitor.  After a visitor logs into their account, their Name and Number are listed at the top of the page.  Is there a way to see page views, downloads, etc by each Account Name &/or Number? 

1833901_pastedImage_0.png

I could be very wrong, which is why I'm asking in the first place.. but I started by creating a data element for Account Name for the JS Object 'account-name'

1834001_pastedImage_2.png

From there, I created a page load rule with an 'Account Name' evar added under the Adobe section. 

1834002_pastedImage_4.png

Any feedback would be appreciated!

View Entire Topic

Avatar

Avatar

settytb1

Employee

Avatar

settytb1

Employee

settytb1
Employee

17-09-2019

Hi Robert,

Yep, that's exactly what you would want to do.  You could to it in the extension as a global variable, aka choose two evar and set them to the data elements grabbing the values.  Or do it form within the rule itself.  (Rule is more localized if you don't want it on everything including links etc.)

Then you need to enable the evars and name them appropriately in the Analytics Admin Console for the report suite you're sending the data to.

Then they will start showing up.

Thanks,

Seth