Package 

Interface EventTracker

  • All Implemented Interfaces:

    
    public interface EventTracker
    
                        

    Tracks events against the Permutive engine and reports events back to the Permutive servers. Events are persisted until they have been successfully sent to the server.

    Use Permutive.eventTracker to create an instance of this object.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit track(String eventName) Tracks an event with no properties.
      abstract Unit track(String eventName, EventProperties properties) Tracks an event with optional properties.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • track

         abstract Unit track(String eventName)

        Tracks an event with no properties.

        Parameters:
        eventName - Name of the event
      • track

         abstract Unit track(String eventName, EventProperties properties)

        Tracks an event with optional properties.

        Parameters:
        eventName - Name of the event
        properties - Properties of the event