DEV Community

Cover image for How I coded a Cookie Free Geo Tracking App
Rick Delpo
Rick Delpo

Posted on

How I coded a Cookie Free Geo Tracking App

How I coded a Cookie Free Geo Tracking app - Steps and Challenges

Mission: to avoid having to provide cookie notice on website, a PECR Reg...and part of GDPR compliance. An alternative to GA, wix, wordpress, cloudflare, PHP, Java session all of which place third party cookies on ur device and put u at risk for non compliance with the LAW

Part 1 - the Architecture, first the high level outline

Windows 10 platform - with rdp - remote desktop to connect to ur ec2 ip address

Aws EC2 - nano instance and route 53 = free for 12 months then $10 per month - host ur DNS here

Apache 2.4 http server - host ur web pages

Tomcat and Java Servlets - connectivity to data with JDBC

JQuery - javascript with AJAX - pass data from dbase to frontend web page

SQLite Database embedded directly in Java app - host ur secure database

Part 2 - the Challenges

Ssl was my biggest pain in the butt.

Cookies were also a pain - Wix, Wordpress, Cloudflare, Google Analytics all place a third party cookie on ur device

Using public geo tracker - finding the right one

GDPR

Responsive website

Working on a master template for a home page - how many things do I want my site to do? How much functionality do i want? The javascript challenge

Wrestling with the column model in html table

JSON

Circumventing PHP and JAVA session objects and their cookies

I will start expanding on each topic shortly and I have much to write about, so check back weekly for updates…..HAVE FUN coding !!!! or learning to code

See live demo at https://cookiefreecoders.com
Click menu options and see ur real time page visits update each minute

Top comments (0)