Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@braze/web-sdk

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@braze/web-sdk

Braze SDK for web sites and other JS platforms.

  • 5.6.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
297K
increased by6.53%
Maintainers
1
Weekly downloads
 
Created

What is @braze/web-sdk?

@braze/web-sdk is a JavaScript library that allows developers to integrate Braze's customer engagement platform into web applications. It provides functionalities for user tracking, messaging, and analytics, enabling personalized and targeted communication with users.

What are @braze/web-sdk's main functionalities?

User Identification

This feature allows you to identify and track users by setting a unique user ID. This is essential for personalizing user experiences and tracking user-specific data.

Braze.changeUser('user_id');

Custom Events

This feature allows you to log custom events that users trigger within your application. These events can be used for analytics and to trigger personalized messaging.

Braze.logCustomEvent('event_name', { property1: 'value1', property2: 'value2' });

In-App Messaging

This feature enables you to display in-app messages to users. These messages can be used for announcements, promotions, or any other type of user communication.

Braze.showInAppMessage();

Push Notifications

This feature allows you to handle push notifications within your web application. You can subscribe to and manage incoming push notifications to engage users effectively.

Braze.subscribeToInAppMessage((message) => { console.log(message); });

User Attributes

This feature allows you to set user attributes, which can be used to personalize user experiences and segment users for targeted messaging.

Braze.setUserAttributes({ firstName: 'John', lastName: 'Doe', email: 'john.doe@example.com' });

Other packages similar to @braze/web-sdk

Keywords

FAQs

Package last updated on 14 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc