added optional url argument to pageview method
merged