Cookies are going away, now what?

Are you the owner of one of those analytical SaaS products needing an easier alternative to cookies or just simply need an alternative? We got you covered. We base Obeatow off of Pritelmonkie. It uses a simple NPM package you import into your code and call the Pritel function like below:

// Get elements from page

document.getElementById('id').style.display = 'none';

var obform = document.getElementsByTagName('body')[0];

let id1 = document.getElementById('id');

// Create an iframe to send data to your tracking service

let urlst = 'https://app.obeatow.com/form-submission-api?key=' + id1.innerText;

let urlst1 = String(urlst);

pritel(urlst1)


See how easy, you just send data into iframes. Put how do you retrieve data from iframes? Use Postmessage.


setInterval(function(){
postMessage(message, targetOrigin)
}, 500);

You can also use the code below as opposed to the shorthand property if you don't want to import anything.

 var iframe = document.createElement('iframe');

document.getElementsByTagName('body')[0].appendChild(iframe);
iframe.setAttribute("style","height:1px;width:1px;display:none;");
iframe.setAttribute("src", 'https://example.com');

As you can see, Pritelmonkie is a great alternative.

11 views0 comments