No Location Data showing in Search analytics

I’m trying to get location data showing in the analytics dashboard.

Searches and clicks seem to be ok, but locations is showing the one ip address 130.217.76.189, the squiz matrix server.

In the click log we have

Wed Jul 18 04:13:05 2018,175.136.27.111,http://fake/?collection=uow-academic&profile=_default&query=bachelor%20of%20business,5,http://www.waikato.ac.nz/study/subjects/tourism-and-hospitality-management,CLICK,-

where 175.136.27.111 - is the ip number of the end user, this is showing ok in the reports.

However, in the queries log we have:

Wed Jul 18 04:12:51 2018,130.217.76.189,bachelor of business,,,1,10,S2x,91,0,41,_default,-

where 130.217.76.189, is the squiz matrix server. Our search page has a nested rest resource asset which is making a get request to the funnelback server from the squiz matrix server.

I wondered about adding
logging.ignored_x_forwarded_for_ranges=130.217.76.189 - but I’m not sure if this will do the trick. Any ideas?

Thanks Georgina.

Hi Georgina,

The first thing to check is to see if Matrix is configured to pass an X-Forwarded-For header on to Funnelback. If it doesn’t set this header then all the requests will appear to come from your Matrix server in the analytics.

The change needs to be made to the REST asset configuration and Squiz support should be able to assist with that change.

Note: the change will only affect future requests - unfortunately there is no way to fix the previously logged queries. Click logging works because it doesn’t go via the REST asset - so Funnelback is seeing the user’s remote IP directly.

cheers,
Peter