Netmera User Guide
Netmera Docs
  • ⚡Netmera User Guide
  • What's New?
  • Beginner's Guide to Netmera
    • Introduction to Netmera
    • Integrating Netmera
    • App Dashboard
    • Design Guide
    • Troubleshooting and Support
    • FAQs
    • Your Feedback
  • Terms to Know
  • Guided Videos
  • Messages
    • About Push Notifications
    • Mobile Push
      • Creating a Mobile Push
        • Define Message Type: Setup
        • Define Message Content: What
          • Advanced iOS Settings
        • Define the Audience: Who
        • Define Campaign Schedule: When
        • Test and Send: GO!
      • Elements of Push Notifications
      • Message Categories
      • Personalized Messages
      • Button Sets
      • Define Segment
      • Add Custom Sounds
      • Add Image or Video to Push Notifications
      • Banner, Carousel, Slider and Product Discovery Additional Notes
    • SMS
      • SMS Onboarding
      • Creating an SMS campaign
      • Message Categories
    • Email
      • Email Onboarding
        • Upload Email List
        • IYS (İleti Yönetim Sistemi)
        • Email Integrations
        • Email Delivery Onboarding
      • How to Create a Mail Template
      • Sending a Mail Campaign
        • Step 1: Setup
        • Step 2: What
        • Step 3: Who
        • Step 4: When
    • Automated Messages
    • Transactional Messages
    • Geofence Messages
    • Push A/B Testing
    • FTP Push & Data Transfer
    • Multi-Language Push
    • Recall Campaigns
    • Netmera AI Text Generator
  • Mobile In-App
    • Mobile In-App / Widget
      • Start Creating
        • Customize Components
          • Spin to Win
          • Custom Button Deeplinks
        • Assign Click Actions
      • Publish
      • Analyze
  • Web Tools
    • About Web Tools
    • Web Push
      • Creating a Web Push Campaign
      • Mobile Web Push for iOS
      • Message Categories
      • Personalized Messages
      • Button Sets
      • Define Segment
      • Tags / Upload User List
      • Fancy Box Setup
    • Web Transactional Push
      • Web Transactional Push Deeplink
    • Web Pop-Up / Widget
      • Start Creating
        • Customize Components
          • Spin to Win
        • Assign Click Actions
      • Publish
      • Analyze
    • Web Feedback Button
      • Create a New Web Feedback Button
        • How to Customize Widgets
        • Adding Click Action
    • Web Personalization
      • Web Personalization Dashboard
      • Create a New Experience
        • Setup and Rules
        • Creating Experiences
  • Web Analytics
  • Customer Journeys
    • Journeys
      • Setup
      • Entry Rules
      • Audience
      • Build Journey
        • Journey Components
          • State
          • Branch
          • Action
      • Launch
      • Journey Analytics
      • Journey Examples
        • Action-Based Engagement Journey
  • Customer Data
    • About Customer Data
    • Profile Attributes
      • Creating Custom Profile Attributes
    • Events
      • Netmera Events
      • Creating Custom Events
      • Event Insight
    • Tagless Data Capture
    • IYS Integration
  • Targeting
    • About Targeting
    • People
    • Tags
    • Segments
      • AI-Based Segments
      • Ready to Use Segments
      • Rule Based Segments
        • Create New Rule Based Segment
      • Connector Segments
      • Segment Details
    • File Transfers
    • Geofence
  • Reports & Analytics
    • Reports
      • Glossary
      • Campaigns
        • Push Reports
        • Email Reports
        • SMS Reports
      • Automated, Transactional & Geofence Push Reports
      • Total Users
      • Installs
      • Event Reports
        • Daily Event Count
        • Hourly Usage
      • KPI's Monthly
      • App Tracking
      • Application Version
      • Audit Logs
      • Export
      • Channel Reachability
    • Analytics
      • Funnel Analysis
        • Create New Funnel
      • Profile
      • Event Insight
      • People Insight
      • Uninstall
      • Opt Out
      • Revenue and Conversion
      • Customer Touch
      • Retention and Cohort
      • Web Analytics
  • Panel Settings
    • Netmera Panel Settings
      • General Settings
      • Test Devices
      • Users
      • Roles and Permissions
      • Button Sets
      • Message Categories
      • Message Labels
      • Landing Pages
      • WebHooks
      • App Tracker
      • Reports Settings
      • Business Units
      • Coupon Code Lists
  • Developer Guide
    • Netmera Developer Guide
Powered by GitBook
On this page
  • Step 1: Event Details
  • Step 2: Attributes
  • Step 3: Adding More Attributes on Attribute Creation
  • Step 4: Save and Generate Code
  • Step 5: Fire Event
  • Importing Events to Apps

Was this helpful?

  1. Customer Data
  2. Events

Creating Custom Events

PreviousNetmera EventsNextEvent Insight

Last updated 4 months ago

Was this helpful?

Quick Steps Guidelines

Developer > Events > Create New Event

  1. Navigate to the Developers > Events section in the Netmera Dashboard.

  2. Click the "Create New Event" button.

  3. Define the event attributes, data types, and specify mandatory parameters as needed.

  4. After creating a custom event, Netmera Dashboard will automatically generate the necessary code and source files for your event.

  5. Developers will fire the event you have created on Netmera Panel. Please read through our guide to understand how to fire an event you generate in your Netmera Panel.

Step 1: Event Details

Provide the following details for your event:

  • Event Name: This is the name of the event as it will be used in your application's code. Choose a descriptive and unique name that represents the action or behavior you want to track.

  • Event Label: The event label is used in the control panel screens and reports within Netmera. It should be a user-friendly name that helps you easily identify the event in the interface.

  • Event Description: Write a brief description that explains the purpose and significance of the event. This will help other team members understand its usage.

  • Base Event (optional): If your custom event is an extension or modification of a standard event provided by Netmera, you can select the base event here. This helps maintain consistency and categorization within your event tracking.

Step 2: Attributes

You need to define the attributes for your custom event. Attributes provide additional context and information about the event. Each attribute has its own properties:

Attribute Create

  • Data Type: Choose the appropriate data type for your attribute. Netmera supports various data types such as string, integer, double, boolean, date, long, and timestamp.

Data Types

Data Type
Definition
Example

String

Sequence of characters, digits or symbols - always treated as text.

hello, +1-999-666-3333

Integer

Numeric data type for numbers without fractions

-707, 0, 707

Double

Double data can be represents in real number (1, 10), decimals (0.1, 11.002) and minus (-1, -0.00002). It can hold approximately 15 to 16 digits before and after the decimal point.

4.5672, 2.45354, -5.22234, 3.12345678901, 0.15197e-7

Boolean

True or false values

0 (false), 1 (true)

Date

Date in the YYYY-MM-DD format (ISO 8601 syntax)

2021-09-28

Long

Long data types are often 32- or 64-bit integers in code

numbers ranging in value from -2,147,483,648 to 2,147,483,647

Timestamp

Number of seconds that have elapsed since midnight (00:00:00 UTC), 1st January 1970 (Unix time)

1632855600

  • Name: Provide a descriptive name for the attribute.

  • Label: The label is used in the control panel screens and reports within Netmera to identify the attribute.

  • Mandatory: Specify whether the attribute is mandatory or optional for the event. This helps ensure that the necessary data is captured.

  • Array: If the attribute can have multiple values, enable the array option. This is useful when tracking events with multiple selections or choices.

  • Private Info: If the attribute contains sensitive or personally identifiable information, mark it as private info to handle it according to privacy regulations.

  • Code: Assigned unique code to each attribute. This code will be used in your application's code to reference the attribute.

Step 3: Adding More Attributes on Attribute Creation

  1. Repeat the attribute creation process as needed for your custom event, adding all the relevant attributes that provide valuable context and information.

  2. Review your event details and attribute configurations to ensure accuracy and completeness.

Step 4: Save and Generate Code

After Creating a Custom Event

Once you've successfully created a custom event using the Netmera Dashboard, integrating it into your project becomes a straightforward process. The Netmera Dashboard automates the generation of the necessary code for your custom event, making it effortless. Here's how it works:

  1. Event Configuration: After defining the attributes, data types, and mandatory parameters for your custom event within the Netmera Dashboard, save your event configuration.

  2. Code Generation: To obtain the code for your custom event, simply navigate to the bottom of the event configuration page and click the "Save and Generate Code" button.

By taking this step, the Netmera Dashboard instantly generates the required code snippets and source files specifically tailored to your custom event. These generated files are ready for integration into your project, ensuring that your custom event tracking seamlessly becomes part of your application.

Step 5: Fire Event

Importing Events to Apps

If you have multiple apps in the Netmera Panel, you can import events from one app to another. This lets you reuse events across apps efficiently.

  1. Go to the Developers section and select Events.

  2. Click Import Event Definition.

  3. Choose the Application Name from which you want to import events.

  1. Select the specific custom event(s) you want to import.

  2. Click the Import button in the Action section.

Ask your developers to read through our Netmera Developer Guide on "" that you have generated the code for in your Netmera Panel. It is a comprehensive guide guiding your developers fire your desired event with the generated code in your applications.

How to Fire Events
How to Fire Events