0
votes

I'm using Google Analytics to provide insights on use of an IoT device. The code I've got works fine and it picks up the location data automatically. When I add geoid tag though it is nulling to location.

I guess I'm doing something wrong. Can someone point me to the right direction?

Here is the code I'm using with geoid at the end:
https://www.google-analytics.com/collect?v=1&tid=UA-12345678-1&cid=abc123&t=pageview&dp=MyDevice&geoid=1000339

1
Yes. I tried several of the Criteria ID from that list but none work. Every time I add one it simply null's the location and 'hit' is recorded on Google Analytics without a location. - thr-x1
The issue appears to be in the location's criteria ID. Even though the one I was using was on the spreadsheet and listed as valid, when I tried several others they worked (it took a FEW goes to select on that worked..). - thr-x1

1 Answers

0
votes

The issue appears to be in the location's criteria ID. Even though the ones I tried were on the spreadsheet and listed as valid, when I tried others they worked (it took a FEW goes to randomly select on that worked..).