I would like to get the users ip, and then load it onto the properties service. But, the html file script uses javascript, not google apps script, so
<script type="text/javascript" src="https://l2.io/ip.js?var=userip"></script>
<script type="text/javascript">
PropertiesService.getScriptProperties().setProperty(String(userip), "1")
</script>
doesn't work. How can I make it work? Would be appreciated. Edit: context below
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" />
<base target="_top">
</head>
<body>
`_insert webpage here_`
<script type="text/javascript" src="https://l2.io/ip.js?var=userip"></script>
<script type="text/javascript">
PropertiesService.getScriptProperties().setProperty(String(userip), "1")
</script>
</body>
</html>
<script type="text/javascript" src="https://l2.io/ip.js?var=userip"></script>? If you provide the situation of when user's ip address is retrieved, more users may be able to think of the solution of your problem.