|
|
|
|
@ -4,13 +4,13 @@ defmodule Plausible.Google.ImportedVisitor do
|
|
|
|
|
|
|
|
|
|
@primary_key false
|
|
|
|
|
schema "imported_visitors" do
|
|
|
|
|
field :site_id, Ch.Types.UInt64
|
|
|
|
|
field :site_id, Ch, type: "UInt64"
|
|
|
|
|
field :date, :date
|
|
|
|
|
field :visitors, Ch.Types.UInt64
|
|
|
|
|
field :pageviews, Ch.Types.UInt64
|
|
|
|
|
field :bounces, Ch.Types.UInt64
|
|
|
|
|
field :visits, Ch.Types.UInt64
|
|
|
|
|
field :visit_duration, Ch.Types.UInt64
|
|
|
|
|
field :visitors, Ch, type: "UInt64"
|
|
|
|
|
field :pageviews, Ch, type: "UInt64"
|
|
|
|
|
field :bounces, Ch, type: "UInt64"
|
|
|
|
|
field :visits, Ch, type: "UInt64"
|
|
|
|
|
field :visit_duration, Ch, type: "UInt64"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -20,17 +20,17 @@ defmodule Plausible.Google.ImportedSource do
|
|
|
|
|
|
|
|
|
|
@primary_key false
|
|
|
|
|
schema "imported_sources" do
|
|
|
|
|
field :site_id, Ch.Types.UInt64
|
|
|
|
|
field :site_id, Ch, type: "UInt64"
|
|
|
|
|
field :date, :date
|
|
|
|
|
field :source, :string
|
|
|
|
|
field :utm_medium, :string
|
|
|
|
|
field :utm_campaign, :string
|
|
|
|
|
field :utm_content, :string
|
|
|
|
|
field :utm_term, :string
|
|
|
|
|
field :visitors, Ch.Types.UInt64
|
|
|
|
|
field :visits, Ch.Types.UInt64
|
|
|
|
|
field :visit_duration, Ch.Types.UInt64
|
|
|
|
|
field :bounces, Ch.Types.UInt32
|
|
|
|
|
field :visitors, Ch, type: "UInt64"
|
|
|
|
|
field :visits, Ch, type: "UInt64"
|
|
|
|
|
field :visit_duration, Ch, type: "UInt64"
|
|
|
|
|
field :bounces, Ch, type: "UInt32"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -40,14 +40,14 @@ defmodule Plausible.Google.ImportedPage do
|
|
|
|
|
|
|
|
|
|
@primary_key false
|
|
|
|
|
schema "imported_pages" do
|
|
|
|
|
field :site_id, Ch.Types.UInt64
|
|
|
|
|
field :site_id, Ch, type: "UInt64"
|
|
|
|
|
field :date, :date
|
|
|
|
|
field :hostname, :string
|
|
|
|
|
field :page, :string
|
|
|
|
|
field :visitors, Ch.Types.UInt64
|
|
|
|
|
field :pageviews, Ch.Types.UInt64
|
|
|
|
|
field :exits, Ch.Types.UInt64
|
|
|
|
|
field :time_on_page, Ch.Types.UInt64
|
|
|
|
|
field :visitors, Ch, type: "UInt64"
|
|
|
|
|
field :pageviews, Ch, type: "UInt64"
|
|
|
|
|
field :exits, Ch, type: "UInt64"
|
|
|
|
|
field :time_on_page, Ch, type: "UInt64"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -57,13 +57,13 @@ defmodule Plausible.Google.ImportedEntryPage do
|
|
|
|
|
|
|
|
|
|
@primary_key false
|
|
|
|
|
schema "imported_entry_pages" do
|
|
|
|
|
field :site_id, Ch.Types.UInt64
|
|
|
|
|
field :site_id, Ch, type: "UInt64"
|
|
|
|
|
field :date, :date
|
|
|
|
|
field :entry_page, :string
|
|
|
|
|
field :visitors, Ch.Types.UInt64
|
|
|
|
|
field :entrances, Ch.Types.UInt64
|
|
|
|
|
field :visit_duration, Ch.Types.UInt64
|
|
|
|
|
field :bounces, Ch.Types.UInt32
|
|
|
|
|
field :visitors, Ch, type: "UInt64"
|
|
|
|
|
field :entrances, Ch, type: "UInt64"
|
|
|
|
|
field :visit_duration, Ch, type: "UInt64"
|
|
|
|
|
field :bounces, Ch, type: "UInt32"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -73,11 +73,11 @@ defmodule Plausible.Google.ImportedExitPage do
|
|
|
|
|
|
|
|
|
|
@primary_key false
|
|
|
|
|
schema "imported_exit_pages" do
|
|
|
|
|
field :site_id, Ch.Types.UInt64
|
|
|
|
|
field :site_id, Ch, type: "UInt64"
|
|
|
|
|
field :date, :date
|
|
|
|
|
field :exit_page, :string
|
|
|
|
|
field :visitors, Ch.Types.UInt64
|
|
|
|
|
field :exits, Ch.Types.UInt64
|
|
|
|
|
field :visitors, Ch, type: "UInt64"
|
|
|
|
|
field :exits, Ch, type: "UInt64"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -87,15 +87,15 @@ defmodule Plausible.Google.ImportedLocation do
|
|
|
|
|
|
|
|
|
|
@primary_key false
|
|
|
|
|
schema "imported_locations" do
|
|
|
|
|
field :site_id, Ch.Types.UInt64
|
|
|
|
|
field :site_id, Ch, type: "UInt64"
|
|
|
|
|
field :date, :date
|
|
|
|
|
field :country, :string
|
|
|
|
|
field :region, :string
|
|
|
|
|
field :city, Ch.Types.UInt64
|
|
|
|
|
field :visitors, Ch.Types.UInt64
|
|
|
|
|
field :visits, Ch.Types.UInt64
|
|
|
|
|
field :visit_duration, Ch.Types.UInt64
|
|
|
|
|
field :bounces, Ch.Types.UInt32
|
|
|
|
|
field :city, Ch, type: "UInt64"
|
|
|
|
|
field :visitors, Ch, type: "UInt64"
|
|
|
|
|
field :visits, Ch, type: "UInt64"
|
|
|
|
|
field :visit_duration, Ch, type: "UInt64"
|
|
|
|
|
field :bounces, Ch, type: "UInt32"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -105,13 +105,13 @@ defmodule Plausible.Google.ImportedDevice do
|
|
|
|
|
|
|
|
|
|
@primary_key false
|
|
|
|
|
schema "imported_devices" do
|
|
|
|
|
field :site_id, Ch.Types.UInt64
|
|
|
|
|
field :site_id, Ch, type: "UInt64"
|
|
|
|
|
field :date, :date
|
|
|
|
|
field :device, :string
|
|
|
|
|
field :visitors, Ch.Types.UInt64
|
|
|
|
|
field :visits, Ch.Types.UInt64
|
|
|
|
|
field :visit_duration, Ch.Types.UInt64
|
|
|
|
|
field :bounces, Ch.Types.UInt32
|
|
|
|
|
field :visitors, Ch, type: "UInt64"
|
|
|
|
|
field :visits, Ch, type: "UInt64"
|
|
|
|
|
field :visit_duration, Ch, type: "UInt64"
|
|
|
|
|
field :bounces, Ch, type: "UInt32"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -121,13 +121,13 @@ defmodule Plausible.Google.ImportedBrowser do
|
|
|
|
|
|
|
|
|
|
@primary_key false
|
|
|
|
|
schema "imported_browsers" do
|
|
|
|
|
field :site_id, Ch.Types.UInt64
|
|
|
|
|
field :site_id, Ch, type: "UInt64"
|
|
|
|
|
field :date, :date
|
|
|
|
|
field :browser, :string
|
|
|
|
|
field :visitors, Ch.Types.UInt64
|
|
|
|
|
field :visits, Ch.Types.UInt64
|
|
|
|
|
field :visit_duration, Ch.Types.UInt64
|
|
|
|
|
field :bounces, Ch.Types.UInt32
|
|
|
|
|
field :visitors, Ch, type: "UInt64"
|
|
|
|
|
field :visits, Ch, type: "UInt64"
|
|
|
|
|
field :visit_duration, Ch, type: "UInt64"
|
|
|
|
|
field :bounces, Ch, type: "UInt32"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -137,12 +137,12 @@ defmodule Plausible.Google.ImportedOperatingSystem do
|
|
|
|
|
|
|
|
|
|
@primary_key false
|
|
|
|
|
schema "imported_operating_systems" do
|
|
|
|
|
field :site_id, Ch.Types.UInt64
|
|
|
|
|
field :site_id, Ch, type: "UInt64"
|
|
|
|
|
field :date, :date
|
|
|
|
|
field :operating_system, :string
|
|
|
|
|
field :visitors, Ch.Types.UInt64
|
|
|
|
|
field :visits, Ch.Types.UInt64
|
|
|
|
|
field :visit_duration, Ch.Types.UInt64
|
|
|
|
|
field :bounces, Ch.Types.UInt32
|
|
|
|
|
field :visitors, Ch, type: "UInt64"
|
|
|
|
|
field :visits, Ch, type: "UInt64"
|
|
|
|
|
field :visit_duration, Ch, type: "UInt64"
|
|
|
|
|
field :bounces, Ch, type: "UInt32"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|