Google Analytics was first made available on November 14th 2005, (almost 13 years ago!) its usage quickly grew and within almost no time it became the dominant website measurement tool. The scope of its offerings have expanded to include features and new technologies over time. As new features have become available the code that connects your website to Google Analytics (GA) has changed as well. To help you understand the different kinds of code that are used to deploy GA, we have created this all in one guide.
You may have heard this one before “Data cannot be deleted after being recorded in Google Analytics”. This is why the technical aspects of web analytics are very focused on getting things right the first time, filtering out potential spammers before they inflate traffic and sometimes finagling the reports to ignore fake traffic that got through despite your best efforts. The Google Analytics User Deletion API can help to remove spam related user data in addition processing delete requests from European users.