logCampaignDetails method
Logs the standard campaign_details
event.
Log this event to supply the referral details of a re-engagement campaign.
Implementation
Future<void> logCampaignDetails({
required String source,
required String medium,
required String campaign,
String? term,
String? content,
String? aclid,
String? cp1,
Map<String, Object?>? parameters,
AnalyticsCallOptions? callOptions,
}) {
_assertParameterTypesAreCorrect(parameters);
return _delegate.logEvent(
name: 'campaign_details',
parameters: filterOutNulls(<String, Object?>{
_SOURCE: source,
_MEDIUM: medium,
_CAMPAIGN: campaign,
_TERM: term,
_CONTENT: content,
_ACLID: aclid,
_CP1: cp1,
if (parameters != null) ...parameters,
}),
callOptions: callOptions,
);
}