The document discusses using code and programming to automate repetitive tasks. It provides examples of using JavaScript regular expressions and Python to analyze log file data and add new columns and tags. Programming allows tasks to be repeated accurately and efficiently. The document encourages planning an approach, choosing the right tools, and structuring work for repeatability. Coding skills are useful for handling large and complex data in a focused, transparent way.
12. Policy Breach Notice
Dear Customer,
Some of your webpages include users' personally identifiable information
(PII) in the URL. As a result, users' PII is accessible to any third-party with a
tracking tag on these pages.
We have further identified that these pages contain Google tagging products
(such as AdWords conversion tracking, remarketing, DoubleClick for
Publishers, Floodlight and Google Analytics).
56. URL Status Hits Active
https://surgery.biz/ 200 1,000,003 True
https://surgery.biz/ 200 500,005 True
http://surgery.biz/ 301 300,000 False
57. URL Status Hits Active
https://surgery.biz/ 200 1,000,003 True
https://surgery.biz/ 200 500,005 True
http://surgery.biz/ 301 300,000 False
log_data['Active'] = log_data['Status']==200
58. URL Status Hits Active
https://surgery.biz/ 200 1,000,003 True
https://surgery.biz/ 200 500,005 True
http://surgery.biz/ 301 300,000 False
log_data['Active'] = log_data['Status']==200
Our data we named
118. Credits by slide number
26 – Iron Giant, 1992, Warner Bros, Pictures
45 – Sherlock, 2010-2018, Hartswood Films, BBC Wales, WGBH
75 – Final Space, 2018, Conaco
120. Resources
1. Regex101 - https://regex101.com/
2. Google Tag Manager (a way to run JavaScript, will need to be added to your site, like Google Analytics) - https://www.google.com/analytics/tag-manager/
3. Simo Ahava blog - https://www.simoahava.com/
4. Sam's GTM PII fix blog post - https://www.distilled.net/resources/how-to-keep-personally-identifiable-information-out-of-google-analytics/
5. JavaScript cheat sheets - https://websitesetup.org/javascript-cheat-sheet/, https://htmlcheatsheet.com/js/
6. Anaconda - download everything you need to start with Python - including Jupyter - https://www.anaconda.com/download/
7. Pandas documentation - https://pandas.pydata.org/pandas-docs/stable/
8. Python beginner resource - https://realpython.com/python-first-steps/
9. Stack Overflow (if you Google your problem, this will probably come up anyway) - https://stackoverflow.com/