CityOfPhiladelphia / property

Property Search Application
property.phila.gov
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Figure out if page views are being logged multiple times and why #9

Closed timwis closed 9 years ago

timwis commented 9 years ago

Adding the GA code but not initiating a page view https://github.com/CityOfPhiladelphia/property/blob/master/app/index.html#L24

.logPageView in the router, called every page view https://github.com/CityOfPhiladelphia/property/blob/master/app/scripts/router.js#L241

timwis commented 9 years ago

You could disable this line to test if it's still sending page views https://github.com/CityOfPhiladelphia/property/blob/master/app/scripts/router.js#L54

laurenancona commented 9 years ago

Resolved by pulling tracking for UA-860026-1 Phila.gov primary (Rollup) GA property out of script and into Tag Manager (also implemented). Both properties are now showing single, correctly-configured pageview hits in testing. Changes deployed to prod 12-19-14.