Variables

There is a javascript variable lyytiEnrollmentData set on the enrollment page. This is an object containing some information about the enrollment in progress. Depending on the status and stage of the enrollment and participant different information is available.

Using this object it is possible to send information about the participant or enrollment process to the analytics tool, or to customise the code depending on the stage of the enrollment process, like illustrated below.

Title

Description

Type

lyytiEnrollmentData.event

Infromation about the event.

Object

lyytiEnrollmentData.event.code

Event enrollment code.

String

lyytiEnrollmentData.event.id

Event ID

Integer

lyytiEnrollmentData.ip

Visitor IP address.

String

lyytiEnrollmentData.language

Enrollment page language,

two letter format

lyytiEnrollmentData.page

Enrollment page name, can be one of:

  • password
  • participants
  • queue
  • registration
  • payment
  • summary
  • done

String

lyytiEnrollmentData.participant

Information about the participant.

Object

lyytiEnrollmentData.participant.email

Participant e-mail address, if available.

String

lyytiEnrollmentData.participant.participate

Weather or not the participant is participating to the event.

Boolean

lyytiEnrollmentData.participant.status

Participant enrollment status, can be one of:

  • reserved
  • confirmed
  • unconfirmed
  • on_line
  • on_line_not_registered

String

lyytiEnrollmentData.participant.uid

Participant enrollment code.

String