skardhamar / rga

R Google Analytics
187 stars 90 forks source link

Use ga:hits instead of ga:sessions for getFirstDate() #83

Closed antoniotajuelo closed 8 years ago

antoniotajuelo commented 8 years ago

These days, some people using Google Analytics for tracking offline events via Measurement Protocol. As this feature is getting more popular, it would be better to calculate the first date using “ga:hits” and not just “ga:sessions”, as “ga:hits” will count not-interactive hits that do not generate sessions but are also data activity.