Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get visitor ip address in javascript

fetch('https://api.ipify.org/?format=json').then(results => results.json()).then(data => console.log(data.ip))
 
PREVIOUS NEXT
Tagged: #visitor #ip #address #javascript
ADD COMMENT
Topic
Name
5+8 =