Discussions
Is it possible to track/get the SCA site guest user ipaddress?
Is it possible to track the SCA site guest user ipaddress or country details?
In SiteBuilder we can get the user's ipaddress by using <%=getCurrentAttribute('request','ipaddress')%>
How can we do the same in SCA website?
Or
How do we access the third party IPAddress api in SCA website?
We tried to access using ajax, however, it gives the CORS error.
Access to XMLHttpRequest at 'https://xxx.xxxxxxxxx.com/check?my_key=zzzzzz' from origin 'http://dev.netsuite-sca-site.com' has been blocked by CORS policy: Request header field x-sc-touchpoint is not allowed by Access-Control-Allow-Headers in preflight response.
Thanks in Advance!