JS - Client IP function () { try { var xhr = new XMLHttpRequest(); xhr.open (http://xhr.open)('GE...JS - Client IP function () { try { var xhr = new XMLHttpRequest(); xhr.open (http://xhr.open)('GE...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
JS - Client IP
function () { try { var xhr = new XMLHttpRequest(); xhr.open('GET', 'https://api.ipify.org?format=json', false); xhr.send(null); if (xhr.status === 200) { return JSON.parse(xhr.responseText).ip; } } catch (e) { return undefined; } }
JS – Client User Agent function () { return navigator.userAgent || ''; } #mitapixel #googleadsconversiontracking #GTM #gtmtracking #conversiontracking #ConversionRateOptimization
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started