DEV Community

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

Posted on

2 1

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

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay