• Features
  • API Docs
  • Help Center
  • Log in
  • Sign Up
  • Features
  • API Docs
  • Help Center
  • Log in
  • Sign Up

User identification

52 views January 11, 2022 0

Things to know before you start:

  • To identify your user, you need to provide at least one unique user identification.
    userId| email | phoneNumber
  • You should make JS API calls after identifying your user, so that you can associate events with a person in your Contact List.
  • WARNING Minimum one unique user identificator (userId| email | phoneNumber) is required.
  • IMPORTANT Include this snippet on every page in your app, immediately before the closing tag to initialize JS API and identify your user.
<script type="text/javascript" src="//js.smartsender.io/js/v1/JS_SCRIPT_ID.js>
    </script>
    <script>
        var contact = new_smartSenderContact('user@example.com');
    </script>

 

Parameters
new_smartSenderContact();
'required'
Call Web Push Notification One-click Subscription Prompt on any page or by user action.
contact
'required'
Minimum one unique user identificator (userId| email | phoneNumber) is required to identify and match the user in
Contact List.
Similar posting
  • Integration with Mailchimp
  • Zapier Integration
  • JS API methods
  • Add contact manually
  • Web Push Prompt Settings in JS
  • How to fire event via JS
Company
  • About us
  • Team
  • YouTube
  • Facebook
  • Google Business
Legal
  • Terms of Use
  • Privacy Policy
  • Anti-Spam Policy
  • Cookie Statement
Resources
  • Api Documentation
  • FAQ
  • Knowledge Base
  • SmartSender Blog
  • Marketplace

We use cookies to make SmartSender’s website a better place. Cookies help to provide a more personalized experience for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).

got it