We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7de340 commit ffb554aCopy full SHA for ffb554a
tasks/ga.js
@@ -37,7 +37,7 @@ const task = ({clientId, path, headers, context}) =>
37
cm: 'organic',
38
de: 'UTF-8', //document encoding
39
ua: headers['user-agent'],
40
- uip: headers['client-ip'] || headers['remoteAddress']
+ uip: headers['client-ip'] || headers['x-real-ip'] || headers['remoteAddress'] || '127.0.0.1'
41
};
42
43
if (headers['x-country'])
0 commit comments