• Home
  • Features
  • Pricing
  • Contact
  • Account
  • Home
  • Features
  • Pricing
  • Contact
  • Account
Home/Knowledge Base/Special Customisations/How to set user information to identify user for sending push notification to specific user

How to set user information to identify user for sending push notification to specific user

404 views 8

Written by Ferdousur Rahman
January 14, 2025
Appilix assigns a unique device ID to each device that installs and opens your app. However, Appilix doesn’t automatically know the user of the website associated with that device (e.g., email address of the user). This is why “Unknown User” appears alongside the device ID when targeting specific users for push notifications.
To know who the user is, you need to pass user identity from your website. This allows Appilix to identify user and display the identify while sending push notification to specific user.
Here are three ways to pass user identity information from your website to your app:

1. Using URL Parameters:

Once a user logs in to your website, the page after login (or any desired page) can include a URL parameter like this:

https://yourwebsite.com/dashboard?appilix_push_notification_user_identity=email@example.com
Replace [email protected] with the user information you want to see (e.g., email address, user ID) in the place of “Unknown User”.

2. Using Script:

Add a script to the page after login (or any desired page) to pass user information:

<script>
var appilix_push_notification_user_identity = "[email protected]";
</script>
Replace [email protected] with the user information you want to see (e.g., email address, user ID) in the place of “Unknown User”.

3. Using Cookies:

Set a cookie on the user’s browser named appilix_push_notification_user_identity with the desired user information as its value (e.g., email address, user ID) once they log in to your website.

Was this helpful?

8 Yes  3 No
Related Articles
  • How to Dynamically Change the Items of Bottom Navigation Bar
  • How to Force App Users to Update Their App to the Latest Version
  • How to add a custom Back Button to go to the previous page?
  • How to show only icons in the Bottom Nav Bar?
  • How to display Dropdown Menus in Navigation Drawer

Didn't find your answer? Contact Us

Leave A Comment Cancel reply

  How to Dynamically Change the Items of Bottom Navigation Bar

How to Force App Users to Update Their App to the Latest Version  


Appilix
About
  • Contact Us

  • Privacy Policy

  • Refund Policy

  • Terms & Conditions

Discover
  • FAQs

  • Plans & Pricing

  • Changelogs

Resources
  • Web to App

Connect With Us

© 2024 Appilix. All Rights Reserved

  • Privacy Policy

  • Terms & Conditions