The Event Manager enables administrators to set up custom JavaScript code which will fire in response to a user's actions on a gate.
Events can be raised through Tag Managers (e.g. Tealium, Google Tag Manager, Adobe Tag Manager) or sent directly to analytics platforms (e.g. Google Analytics, Adobe Analytics) for reporting and analytics. The target platform(s) must already be installed on the web pages where events will be captured. These events are raised separately from the built-in Formulayt tracking that is used to populate the dashboard and other reports within the administration area.
The Event Manager is intended exclusively for administrators who are proficient in JavaScript and have an understanding of their organisation's Tag Manager configuration. Any developer using this tool should know how to conduct full testing.Once you have navigated to the Manage Events area, events specific to your account will be displayed. These are organised by content types (gate types).
The status column indicates whether or not the event has been configured, there is no need to configure all events. When you click "Edit event JavaScript" you will be shown a description of when the event fires and can start inserting code. The system will detect and block syntax errors, however run time errors will only be raised when the event actually fires, and hence testing using preview mode before publishing is critical.
It is possible to insert data values from gate attributes, form attributes, query string values, field values and browser attributes. More information about the types of data available is listed in this article.It is important that any objects that are called in the code (e.g. dataLayer) actually exist or this will cause the event to fail to fire.
Once you have finished configuring events, you can push them live using the button in the top right.
Important: Events only fire outside the Formulayt admin platform. So be sure to do all testing on an external webpage.
Do you have a question about the event manager or having issues? Formulayt is on hand, simply click "+ New Support Ticket" above.