Home / Admin / Add Profile ID to Subscriber
Duplicate Snippet

Embed Snippet on Your Site

Add Profile ID to Subscriber

You can assign any CRM ID or your database ID to your push subscriber and then send them a notification based on that.

Code Preview
js
var peProfileId = "Enter Profile Id";
window.PushEngage = window.PushEngage || [];
PushEngage.push(function () {
  PushEngage.setProfileId(peProfileId)
    .then(function (response) {
      console.log(response);
    })
    .catch(function (error) {
      console.log(error.message, error.details);
    });
});

Comments

Add a Comment