Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pywb returns some HTML for pages not available and Google Analytics treat them as PageViews #120

Open
peterchanws opened this issue Jul 27, 2022 · 0 comments
Labels
web archiving 2022 web archiving work cycle

Comments

@peterchanws
Copy link
Collaborator

Even though https://swap.stanford.edu/was/20141218230016mp_/http://mlk-kpp01.stanford.edu/kingweb/popular_requests/frequentdocs/birmingham.pdf displays a message saying it can't be found, pywb returns some HTML for the page, with Google Analytics embedded in it, so it thinks the user viewed the page just fine.

It would be better if pywb returns something which Google Analytics will not treat these cases as PageViews.

https://analytics.google.com/analytics/web/?utm_campaign=SuiteHeader&utm_source=UniversalPicker&utm_medium=getStarted#/report/content-pages/a7219229w93372285p98284227/_u.date00=20220718&_u.date01=20220724&explorer-table.plotKeys=%5B%5D&_r.drilldown=analytics.pagePath:~2Fwas~2F20141218230016mp_~2Fhttp:~2F~2Fmlk-kpp01.stanford.edu~2Fkingweb~2Fpopular_requests~2Ffrequentdocs~2Fbirmingham.pdf/

@lwrubel lwrubel added the web archiving 2022 web archiving work cycle label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web archiving 2022 web archiving work cycle
Projects
None yet
Development

No branches or pull requests

2 participants