INNER CODE UNIT · Dart

setPostHogUserID

RevenueCat/purchases-flutter · lib/purchases_flutter.dart:1031

  static Future<void> setPostHogUserID(String postHogUserID) =>
      _channel.invokeMethod('setPostHogUserID', {'postHogUserID': postHogUserID});

  /// Subscriber attribute associated with the install media source for the user
  ///
  /// [mediaSource] Empty String or null will delete the subscriber attribute.
  static Future<void> setMediaSource(String mediaSource) =>
      _channel.invokeMethod('setMediaSource', {'mediaSource': mediaSource});

  /// Subscriber attribute associated with the install campaign for the user
  ///
  /// [campaign] Empty String or null will delete the subscriber attribute.
  static Future<void> setCampaign(String campaign) =>
      _channel.invokeMethod('setCampaign', {'campaign': campaign});

  /// Subscriber attribute associated with the install ad group for the user
  ///
  /// [adGroup] Empty String or null will delete the subscriber attribute.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…