javascript events - How to Categorize virtual pageviews in Google Analytics? -


i checked in google analytics documentation in tracking events :

_trackevent(category, action, opt_label, opt_value, opt_noninteraction)

we can categorize events.
using pop-ups login/register , handling these in analytics using concept of virtual pageviews.
question is, there way categorize virtual pageviews (like register , login separately), couldn't found solution because pageviews have _trackpageview('url')
, here have no parameter setting category.
in advance.

there couple of approaches:

  1. you add event virtual page view , log them both @ same time.

  2. you add prefix virtual page view such "/virtual/" + url


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -