Annotation Interface PostHogCapture


@Retention(RUNTIME) @Target(METHOD) public @interface PostHogCapture
annotated methods will trigger a capture with user identity information to posthog
this annotation is only working on spring proxied beans!
internal method call within the bean itself will not get tracked - other bean calls will work
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    event name
    when not set use method name
  • Element Details

    • name

      String name
      event name
      when not set use method name
      Default:
      ""