Veritran Docs

VT_TRACKING

The VT_TRACKING function allows you to define or invoke events to be registered for the different platforms or tools integrated by VTU App. You can choose one of the two methods explained in the sections below.

Register

The register method allows you to define different id numbers (tracking ids) that can then be referenced by different components. You can define as many tracking ids as required. Your app will save the tracking ids in a dictionary, and they will be available to be invoked in the future.

Each tracking id contains a set of references to platforms integrated by VTU App. You can indicate as many platforms as required. Refer to the annotated image below to learn more about the register method configuration.

VT_TRACKING_REGISTER.png
  1. Add Tracking. Click to add a new tracking.

  2. Tracking ID. Enter the id to identify your tracking.

  3. Remove. Click to delete the tracking. The tracking will be automatically deleted.

    Important

    Note: if you remove a tracking, the platform and parameters configuration will also be deleted

  4. Add Platform. Click to add a new platform.

  5. Platform. Select one of the platforms available in the drop-down menu.

  6. Remove. Click to remove a platform. The platform and its configured parameters will be automatically deleted.

  7. Add Parameter. Click to add new parameters for a platform.

  8. Key. Enter a key to identify the action required.

  9. Value. Enter the value of that action.

  10. Remove. Click to remove the parameters configured for a specific platform. Parameters will be automatically deleted.

Track

The track method allows you to invoke an event so that it is recorded in the registered platforms. The track method will tell the VTU app to invoke the tracking API defined for the tracking id specified. Hence, the tracking id is the only parameter to be configured. Complete with the tracking id required.

Note

You can only add one track method for the VT_TRACKING function.