Closed grantkemp closed 9 years ago
@grantkemp Did you configure a tracker and make any "send" calls?
The library will not start sending tracking data to Google simply by loading it. This is very similar to Google's Javascript library analytics.js
, in that it provides an interface for making Measurement Protocol requests with a stateful tracker configuration, but requires a working configuration to properly generate data. Examples are provided in the project's README, as well as the test.php
file.
This documentation is admittedly a bit slim, but it covers the most common use-cases. https://github.com/analytics-pros/universal-analytics-php/blob/master/README.md
Closing this due to inactivity (no response from @grantkemp)
Hi - sorry didn't see above. I managed to get it working great - if I can recall what changes I did, I will push them up - ( if relevant)
Hi I tried loading this from my localhost and from my shared hosting, but I couldn't see the data registering in my real time GA tracker. Any idea on how to get this working? Is there a working tutorial somewhere I can read to see what I missed?