Apphud – Integrate, analyze and improve subscriptions in your iOS app
Apphud updates

What’s new: OneSignal integration and User properties

Hey there! We continue to notify what new features we added recently.

OneSignal integration

We are happy to announce partnership with OneSignal. OneSignal is a mobile push notifications, web push, and in-app messaging platform.

Apphud now can update User Tags in OneSignal. Tags are key-value attributes that allow you to target specific users or groups using Segments and send personalized messages with Tag Substitution.

Using this integration, you will be able to send personalized push or in-app message, when specific event occurs, like trial_canceled.

Read more about how to set up integration in our documentation.

OneSignal integration setup in Apphud

Using OneSignal and Apphud Rules simultaneously

If you are using Apphud Rules, you will need incoming push notifications to be handled by either Apphud or OneSignal. However, without necessary changes OneSignal doesn’t let notifications go through. You can read about necessary changes here.

Set Custom User Properties

Since Apphud SDK 0.18.2, you can set custom user properties from iOS app. There are two new methods:

func setUserProperty(key: ApphudUserPropertyKey, value: Any?, setOnce: Bool = false)

and

func incrementUserProperty(key: ApphudUserPropertyKey, by: Any)

Using these methods, you can update your custom or built-in user attributes, like email, name, gender, age, cohort. You can store any basic types: String, Boolean, Float, Integer or null. Read more about user properties in our Apphud.swift file in Apphud SDK sources.

User properties in Apphud User page

Later this fall we will add ability to send these attributes as custom properties to Integrations, as well as filtering events and revenue in Charts. Also, we will update Rules section, so that you will be able to send emails to win back churned users.

So update you SDK now and start collecting user attributes that will help you to analyze user behavior better!