ebook img

Applied User Data Collection and Analysis Using JavaScript and PHP PDF

336 Pages·2021·10.59 MB·english
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Applied User Data Collection and Analysis Using JavaScript and PHP

Applied User Data Collection and Analysis Using JavaScript and PHP Applied User Data Collection and Analysis Using JavaScript and PHP Kyle Goslin Markus Hofmann First edition published 2021 by CRC Press 6000 Broken Sound Parkway NW, Suite 300, Boca Raton, FL 33487-2742 and by CRC Press 2 Park Square, Milton Park, Abingdon, Oxon, OX14 4RN © 2021 Taylor & Francis Group, LLC CRC Press is an imprint of Taylor & Francis Group, LLC The right of Kyle Goslin and Markus Hofmann to be identified as authors of this work has been as- serted by them in accordance with sections 77 and 78 of the Copyright, Designs and Patents Act 1988. Responsibility for the validity of all materials or the consequences of their use. The authors and pub- lishers have attempted to trace the copyright holders of all material reproduced in this publication and apologize to copyright holders if permission to publish in this form has not been obtained. If any copyright material has not been acknowledged, please write and let us know so we may rectify in any future reprint. Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming, and recording, or in any information stor- age or retrieval system, without written permission from the publishers. For permission to photocopy or use material electronically from this work, access www.copyright. com or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400. For works that are not available on CCC, please contact mpkbookspermis- [email protected] Trademark notice: Product or corporate names may be trademarks or registered trademarks and are used only for identification and explanation without intent to infringe. ISBN: 978-0-367-75682-6 (hbk) ISBN: 978-0-367-75680-2 (pbk) ISBN: 978-1-003-16354-1 (ebk) Typeset in Computer Modern font by KnowledgeWorks Global Ltd. For Amanda and Noah. For when distraction was needed, and for when it was not. — Kyle In memory of Johann Trautwein, who, as an early adopter of computing, not only paved my path to the world of informatics but also instilled many other values I cherish. A true gentleman - missed but never forgotten by all who knew him. — Markus Contents Preface xi Authors xiii Acknowledgments xv List of Figures xvii List of Tables xxiii Chapter 1(cid:4) Introduction 1 1.1 INTRODUCTION 1 1.2 WHOTHISBOOKISAIMEDAT 2 1.3 TECHNOLOGIESUSED 2 1.4 VARIATIONSOFDATA 3 1.4.1 Active Data 4 1.4.2 Passive Data 4 1.5 WHATYOUNEED 5 1.6 DEVELOPMENTENVIRONMENT 6 1.7 CODEEXAMPLES 8 1.8 BOOKOUTLINE 9 1.9 SUMMARY 10 vii viii (cid:4) Contents Chapter 2(cid:4) Active Data Collection 11 2.1 INTRODUCTION 11 2.2 BINARYDATACOLLECTION 11 2.3 TEXT-BASEDDATACOLLECTION 16 2.4 STARRATINGS 21 2.5 CUSTOMRESPONSEFORM 29 2.6 SUMMARY 38 Chapter 3(cid:4) Passive Data Collection 39 3.1 INTRODUCTION 39 3.2 COOKIESANDSESSIONS 40 3.3 READINGFROMFILES 49 3.4 USERIPADDRESS 58 3.5 FINDINGTHEUSERAGENT 64 3.6 USERGEOGRAPHICLOCATION 67 3.7 TIMESPENTONPAGES 71 3.8 TRACKINGINDIVIDUALDIVTAGS 73 3.9 LOGGINGTIMES 75 3.10 WHEREAUSERCAMEFROM 80 3.11 SOCIALMEDIACONTENTHARVESTING 81 3.12 SUMMARY 86 Chapter 4(cid:4) Custom Dashboards 87 4.1 INTRODUCTION 87 4.2 USERLOGIN 88 4.3 USERREGISTRATION 95 4.4 MULTI-COLUMNBARCHART 104 4.5 BINARYBARCHART 110 4.6 DYNAMICDASHBOARD 115 4.7 SUMMARY 150 Contents (cid:4) ix Chapter 5(cid:4) Working with Text 151 5.1 INTRODUCTION 151 5.2 NATURAL-LANGUAGEPROCESSING 151 5.3 STOPWORDS 152 5.4 RED-FLAGMONITORING 158 5.5 N-GRAMS 167 5.6 SENTENCECOMPLETION 170 5.7 WORDSTEMMING 173 5.8 SYNONYMS 174 5.9 TERMWEIGHTING 178 5.10 SENTIMENTANALYSIS 184 5.11 SUMMARY 188 Chapter 6(cid:4) Text Visualization 189 6.1 INTRODUCTION 189 6.2 WORDCLOUD 189 6.3 COLLAPSIBLETREELAYOUT 195 6.4 TERMSOFINTERESTNODEGRAPH 200 6.5 TIME-SERIES ANALYSIS WITH POSITIVE AND NEGA- TIVEREVIEWCHART 211 6.6 SUMMARY 219 Chapter 7(cid:4) Time-Based Feedback Analysis 221 7.1 INTRODUCTION 221 7.2 GATHERINGTIMELINESANDDATABASEDATATYPES 221 7.3 TIME-SEGMENTANALYSISANDVISUALIZATION 223 7.4 REAL-TIMEFEEDBACKANALYSIS 237 7.5 POSITIVEVS.NEGATIVEFEEDBACKCALENDARS 244 7.6 FEEDBACKHEATMAP 252 7.7 SUMMARY 265

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.