Campaign class
Describes a campaign.
Multiple track...
methods in MatomoTracker can take a campaign as argument.
When using campaigns, it should be noted that each visit can only have at most
one campaign associated with it. It does not matter if the first track...
call or a subsequent track...
call has the campaign attached, it will be treated
as the campaign for the whole visit. Calling track...
methods with the same
campaign (in respect to the objects field values) will not start a new visit,
nor will calling track...
without a campaign after setting a campaign in a
previous track...
call start a new visit. On the other hand, calling a
track...
method with a different campaign will start a new visit.
Read more about Campaign Tracking.
Constructors
Properties
- content → String?
-
This is a specific link or content that somebody clicked. e.g. banner, big-green-button.
final
- group → String?
-
The audience your campaign is targeting e.g. customers, retargeting, etc.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
A unique identifier for your specific ad. This parameter is often used with the numeric IDs automatically generated by advertising platforms.
final
- keyword → String?
-
The specific keyword that someone searched for, or category of interest.
final
- medium → String?
-
The type of marketing channel, e.g. email, social, paid, etc.
final
- name → String
-
A descriptive name for the campaign, e.g. a blog post title or email campaign name.
final
- placement → String?
-
The placement on an advertising network e.g. newsfeed, sidebar, home-banner, etc.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String?
-
The actual source of the traffic, e.g. newsletter, twitter, ebay, etc.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, String> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited