File size: 651 Bytes
8da2481 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | defmodule Plausible.Imported.UniversalAnalytics do
@moduledoc """
Import implementation for Universal Analytics.
NOTE: As importing from UA is no longer supported, this module
is only used to support rendering existing imports.
"""
use Plausible.Imported.Importer
@impl true
def name(), do: :universal_analytics
@impl true
def label(), do: "Google Analytics"
@impl true
def email_template(), do: "google_analytics_import.html"
@impl true
def parse_args(_args) do
raise "Importing data not supported"
end
@impl true
def import_data(_site_import, _opts) do
raise "Importing data not supported"
end
end
|