2016-11-21 17:36:25 +01:00
|
|
|
package models
|
|
|
|
|
2018-05-04 15:43:05 +02:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2016-11-21 17:36:25 +01:00
|
|
|
type Pageview struct {
|
2018-09-25 15:03:07 +02:00
|
|
|
ID string `db:"id"`
|
|
|
|
SiteTrackingID string `db:"site_tracking_id"`
|
|
|
|
Hostname string `db:"hostname"`
|
|
|
|
Pathname string `db:"pathname"`
|
|
|
|
IsNewVisitor bool `db:"is_new_visitor"`
|
|
|
|
IsNewSession bool `db:"is_new_session"`
|
|
|
|
IsUnique bool `db:"is_unique"`
|
|
|
|
IsBounce bool `db:"is_bounce"`
|
|
|
|
Referrer string `db:"referrer"`
|
|
|
|
Duration int64 `db:"duration"`
|
|
|
|
Timestamp time.Time `db:"timestamp"`
|
2016-12-10 14:16:05 +01:00
|
|
|
}
|