Adapted analytics pageview counter

Change-Id: I342b1360034c4f11c0c0f9ad2d964b43f890c0c4