electerious / ackee-tracker

Transfer data to Ackee.
MIT License
196 stars 22 forks source link

Enable more data at ackee-tracker #40

Closed hamzamu closed 3 years ago

hamzamu commented 3 years ago

Hi, I just installed Ackee, and it is wonderful, simple and direct to the point. However, I cannot get device data, browser and other related data. I am getting this message:

There is either no data available or collecting detailed data is disabled in ackee-tracker.

How can I enable device and browser data analytics?

Screen Shot 2021-08-31 at 12 03 51

Best, Hamza

electerious commented 3 years ago

There's an option in ackee-tracker called detailed which can be set to true: https://github.com/electerious/ackee-tracker#-options

This is how you set the option when using ackee-tracker via a script-tag (data-ackee-opts attribute at the end):

<script async src="dist/ackee-tracker.min.js" data-ackee-server="https://ackee.example.com" data-ackee-domain-id="hd11f820-68a1-11e6-8047-79c0c2d9bce0" data-ackee-opts='{ "detailed": true }'></script>