improve country code parsing by including page views and dom events