And then if I have any other data in OneSignal that I wanted to combine in the segments, I can do that as well. You don't have to, but if you want it to, you can combine this with, maybe I just want to target my users in this cohort and they've used the app over three times or something like that. It's just going to be a way to make the integration deeper by leveraging your Mixpanel cohorts and possibly any other data you have in OneSignal.
This is just an add-on to that integration. Once I have that, basically, that data is going to get synced every 15 minutes or just one time like we saw. You can now create messages. I can go to my Messages tab here and I can create push notifications, I can do in-app messages for mobile apps. Right now, email is not supported. It is being worked on, but it's something that's currently not available. In order to get emails into OneSignal, you're going to have to go into your Audience tab here, and you can actually do a one-time or as many times as you want.
You can import emails. I can upload phone numbers for SMS if you want to do that as well. Also, our SDK has options to capture email addresses as well. So definitely a lot of information in our documentation on getting emails synced over. Pretty soon, we will have this available within the Mixpanel Integration as well. So, that's for emails. Let's talk about push and in-app messaging, so back in Messages, New Push. All of our messaging capabilities basically start in the same way.
We define our audience. In this case, we want to target the Mixpanel segment or cohort that we have synced. I'm just going to click my awesome Mixpanel users here. I create my message. Now, this can be just whatever message you want to send.
You can add your emojis, you can add any custom images you want to do, your launch URL, which is basically what you're going to deep-link to in your app or URL on your website.
You can send just a test notification, just to test to yourself to see how it looks. One more thing is you could add different languages. If you have a lot of users that speak different languages and you want to send them a message translated in their language, you can just select whichever ones you want.
For example, I'll click those. We're not going to translate it, but you can put your translations here. If my device is set to these languages, I'll get the translation. There was a lot of other options. I'm not going to get into all of them since this is mostly just a Mixpanel OneSignal Integration webinar. But there's a lot of great details in our documentation about that. This is like the basics. I can now schedule it and send it.
Now, one thing I do want to highlight about the integration is that, when these messages get sent, that data is also being poured into Mixpanel. On the OneSignal side, when you send the notifications, you can see Total Sent, which is how many people we targeted in the segments of the cohort that we just sent a notification to. How many of those were delivered, meaning how many were sent to the Google and Apple servers.
And then of those, it will tell you how many were confirmed. Basically, how many were received by the device specifically. What's nice about all this information is that this is all available within a Mixpanel. I can now create cohorts based on these different events. If a push message is opened by a user, I can basically use that event, which is the user did Opened App From Push. It's the event type - Opened App From Push. I can also set the timeframe, so at least X amount of times in the last X amount of days.
And then what's really nice is you can also include what was the message. Here, we use the message events property, and all the messages that I've sent are going to be basically introduced into Mixpanel.
I can see what that message title was here. Here, the title was the title here, and this is going to be added into Mixpanel automatically. If you don't see it, you can also just basically copy-paste it, the title in there, just to pull it in quicker, if you want to.
Now I know all my users that opened the push that I sent. They opened it at least one time in the last seven days. There's other events you could use. There's the Opened event, which means they actually clicked it and opened the app or the website. Received means that they actually received it. They might have reflected and they might not have, but we know that they received it.
And then just Sent, so how many people we actually sent the message to. Install the app. Change style. Contact us. Close Menu. Resources XenForo Modifications Add-ons. JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding. You are using an out of date browser. It may not display this or other websites correctly. Sushant More May 2, at AM. Older Post Home. Subscribe to: Post Comments Atom.
Cordova Setup In Android Studio. If you want the ability to use OneSignal across your entire Angular app, complete these advanced push notification setup steps after completing the quick push notification setup. In your root folder, create a new file called globals.
In this file, you will insert the following code:. The code above will allow you to make use of the window. OneSignal object without triggering any TS and compiler errors. Now that you have the globals. Now it's time to create your OneSignal service inside of your Angular app.
I have created one using the Angular CLI. The name of my service file is one-signal. After creating the service, you will create an onLoad method that will ensure that the SDK script we added inside of the index. In the OneSignal service, create a new method called onInit. Inside of the method you will call the onLoad and you will initialize OneSignal. Next, open your app. Your file will look like this:.
Click on the blue button entitled, Next: Configure Your Platform. OneSignal []; OneSignal.
0コメント