Capture IP addresses
This script will pick up the IP address of the user and set the rendering mode –
f(“user_IP”).set(RequestIP());
f(“user_device”).set(GetRenderingMode());
var getMobCode = GetRenderingMode();
var getAll = Request.ServerVariables(“ALL_HTTP”);
f(“storeHeaderInfo”).set(getAll);
f(“detectDevice”).set(getMobCode);
Just make sure you have the variables ready for this data to be set in.