Developer Guide
API GuideDeveloper Guide
  • Overview
    • Getting Started
    • Customers and Visitors
    • Events and Business Objects (BOs)
      • Sample Event Templates
  • Website
    • Getting Started
      • Direct JS Implementation
      • JS Integration via GTM
      • Tracking Haravan website events
    • Tracking Users
    • Tracking Events
      • [Direct] Sample E-Commerce Events
        • View Product
        • Add a Product to the Shopping Cart
        • View the Shopping Cart
        • Remove a Product from the Shopping Cart
        • Search for Product(s)
        • Checkout Shopping Cart
        • Apply Promotion Code
        • Purchase Product(s)
      • [GTM] Sample E-Commerce Events
        • View Product
        • Add a Product to the Shopping Cart
        • View the Shopping Cart
        • Remove a Product from the Shopping Cart
        • Search for Product(s)
        • Checkout Shopping Cart
        • Apply Promotion Code
        • Purchase Product(s)
    • Web Push
  • Android
    • Getting Started
    • Tracking Users
    • Tracking Events
    • Push Messaging
    • App Inbox Messaging
  • iOS
    • Getting Started
      • Integration of Antsomi iOS SDK
    • Tracking Users
    • Tracking Events
    • Push Messaging
  • Hybrid Apps
    • React Native
      • Tracking Users
      • Tracking Events
        • Sample E-Commerce Events
          • View Product
          • Add a Product to the Shopping Cart
          • View the Shopping Cart
          • Remove a Product from the Shopping Cart
          • Search for Product(s)
          • Checkout Shopping Cart
          • Apply Promotion Code
          • Purchase Product(s)
      • Push Messaging
      • App Inbox Messaging
    • Flutter
      • Tracking Users
      • Tracking Events
        • Sample E-Commerce Events
          • View Product
          • Add a Product to the Shopping Cart
          • View the Shopping Cart
          • Remove a Product from the Shopping Cart
          • Search for Product(s)
          • Checkout Shopping Cart
          • Purchase Product(s)
      • Push Messaging
      • App Inbox Messaging
      • App In-line Content
  • Antsomi Service Integrations
    • Media Template
    • Media JSON
      • Sample E-Commerce Events
        • Search for Product(s)
        • View Product
        • Add a Product to the Shopping Cart
        • Checkout Shopping Cart
        • Purchase Product(s)
      • Sample User Events
        • Sign-in
        • Sign-up
      • Sample Opt-in Events
        • Subscribe to Email marketing
        • Subscribe to OneSignal channel
  • 3rd Party Integrations
    • Shopify
      • Tracking Shopify website events
    • LINE
      • Integrating LINE Login with your web app
    • Google Ad Manager
      • Targeting CDP365 segment via PPID(s)
Powered by GitBook
On this page
  1. Antsomi Service Integrations
  2. Media JSON
  3. Sample User Events

Sign-up

When a user signs up on your web app, creates a new account, and gains access to a world of exciting features and opportunities.

Event trigger

  • The user submitted the sign-up form.

  • Add this script to the submit function of the form ‘Sign-up'.

<script>
$("#REGISTER_FORM").submit(function(event) {
  var url = web_media_template.buildUrlMediaJson(
    "user", 
    "sign_up", 
    ["div_asm_qct_test_json_1"], 
    {
      dims: {
        customers: {
          customer_id: "36e4706566c276df8b66a39dfc06bdee",
          phone: "2b16c9631bfdd87c9c498b6346d95cb3546f48e0e713c84182d1f1a6d75b143b",
          gg_phone: "fd38d3edfeb70b7fb09e74e269d27f6fb24d5c75799b7e3d85604a5965a6623f",
          fb_phone: "fd38d3edfeb70b7fb09e74e269d27f6fb24d5c75799b7e3d85604a5965a6623f",
          email: "26c009c4a46c83c751fc1f71bbc6cb81062c360761e4b60c41dce7880ee61f13",
          name: "Barack obama",
          gender: "Nam",
          date_of_bith: "1960-12-11"
        }
      },
      extra: {
        customer_id: "36e4706566c276df8b66a39dfc06bdee",
        customer_name: "Barack obama",
        identify_time:"2020-12-11 15:30:20",
        identify_event: "Sign-Up"
      }
    }
  );
});
</script>
PreviousSign-inNextSample Opt-in Events

Last updated 1 year ago