Loymax, 2026

Wiki source code of Event sources


Show last authors
1 (% class="lead" %)
2 Loymax Smart Communications allows you to process events that occur across various sources, such as an online store, mobile application, and more. Tracking event sources can help to analyze customer behavior, identify the most effective communication channels, and optimize marketing campaigns.
3
4 === Sources list ===
5
6 Information about event sources is available in the **[[Settings>>doc:Main.Smart_Communications.SMC_Use.Settings_SC.WebHome]] > Event Sources** section.
7
8 (% class="table-bordered" %)
9 |(% style="border-color:white; text-align:center" %){{lightbox image="Sources_list.png"/}}
10
11 There are two types of event sources:
12
13 1. **System sources** — are created automatically when a new **Partner** is added to the system. These sources are always named **Online Store**. This source can be disabled using the toggle switch in the **Active** column if needed. System event sources cannot be deleted.
14 1. **User-defined sources** — sources created by users via the interface. For example, **Mobile application** shown in the image above.
15
16 |(% style="border-color:white; width:1065px" %)(((
17 === Creating user-defined sources ===
18
19 Click the **Add source** button in the top-right corner of the page to create a new source (see image above). A modal window titled **Source property** will open, where you need to specify:
20
21 * **Name** — the name of the event source;
22 * **Code** — the source code used when processing events in the [[JS Tracker>>doc:Main.Smart_Communications.SMC_integration.JS_tracker.WebHome]];
23 * **Domain**.
24
25 The **Activity** status of an event source is managed using the toggle switch [[image:toggle_switch.png||height="19" width="29"]] in the main section **Sources list** (see image above).
26
27 (% class="box" %)
28 (((
29 For example, if a Partner has a main website with an online store and additional websites for promotional campaigns, then each site should have its own **event source** registered in Smart Communications. The code specified in these sources will be used for tracking events on each respective website.
30 )))
31 )))|(% style="border-color:white; text-align:center; width:582px" %)(((
32 {{lightbox image="Add_source.png"/}}
33 )))
34 |(% style="border-color:white; width:1065px" %)(((
35 Clicking on the **name** of an event source in the main S**ources list** section opens the **Source property **modal window, where you can perform the following actions:
36
37 * **Edit** — change the name, code, and domain of the event source by updating the corresponding fields.
38 * **Remove** — click the **Remove** button if this event source is no longer needed.
39 )))|(% style="border-color:white; text-align:center; width:582px" %){{lightbox image="Edit_source.png"/}}
40
41 === Using event sources in the Segment builder ===
42
43 Event sources can be used in the [[Segment builder>>doc:Main.Smart_Communications.SMC_Use.Customers.User_segments.Segment_builder.WebHome]].
44
45 For example, a Partner may have both an online store and a Mobile application. By using event sources, the Partner can see how many customers performed a specific action (e.g., viewed a product category) on the website and how many did so in the Mobile app. Based on the results, Partner can then develop further strategies for launching [[marketing campaigns>>doc:Main.Smart_Communications.SMC_Use.Campaigns.WebHome]] and [[mass mailings>>doc:Main.Smart_Communications.SMC_Use.Mass_messaging.WebHome]].
46
47 The image below shows an example of creating a segment of customers who viewed the "Jacket" category in the Online Store at least once in the last 30 days.
48
49 (% class="table-bordered" %)
50 |(% style="border-color:white; text-align:center" %){{lightbox image="SB_events.png"/}}
51
52