Custom Events

Custom Events

Event Collection for Custom Events

You can send custom events using the sendDeviceEvent function. Events are stored in a Big Data table in your D·engage account, which must be linked to the master_device table. If you provide a contact_key for the browser or device, the event will be associated with that specific user.

Note: Please check Event Collection/E-Commerce Events section to send specific e-commerce events to our platform. The example below sends a specific event to a specific custom big data table created on our platform (for instance for a specific need. Please note that D·engage platform is also a CDP!

dengage('sendDeviceEvent', tableName, dataObject, [callback]);

//for example if you have a table named "events"
//and events table has "key", "event_date", "event_name", "product_id" columns
//you just have to send the columns except "key" and "event_date", because those columns sent by the SDK

var eventData = {
event_name: 'purchase',
product_id: 12345,
};
dengage('sendDeviceEvent', 'events', eventData);
    • Related Articles

    • Ecommerce Events

      If your D·engage account is an eCommerce account, you should use standard eCommerce events in the SDK. If you need some custom events or your account is not a standart ecommerce account, you should use custom event functions. Events for Ecommerce ...
    • Page View Events

      Page view events are recorded in the page_view_events table. If you add new columns to this table, you can include them when sending event data. JavaScript // page_type can have these values // home / category / product / cart / checkout / promotion ...
    • Intro

      D·engage Mobile SDK enables you Mobile Device Subscription to D·engage Platform Mobile Notification Registration Mobile Notification Display (Text, Rich, Causel Mobile Push Messages) Tracking Mobile Pushes like Click events Tracking Marketing Events ...
    • Event Collection

      Event Collection In Web SDK In order to collect website events and use that data to create behavioural segments in D·engage you have to determine the type of events and data that needs to collect. Web SDK provides some functions to collect page view ...
    • iOS

      License This part explains the iOS part of the Mobile SDK. If you are using D·engage iOS SDK version lower than 5.0.0 Dengage.Framework provides necessary classes and functions which handles. To use version 5.0.0 Dengage provides necessary classes ...