Do you have a Web SDK?

Do you have a Web SDK?

Yes, MOCA has the JS SDK that enables web applications written in HTML5/CSS to track a variety of user signals, such as browser, operating system, events triggered by user navigation and much more.

MOCA JavaScript SDK is designed with this in mind:
  1. It’s a quick way to start collecting user behavioral data without having to instrumentalize your website’s code.
  2. It can be used to provide personalized recommendations if paired with the MOCA Recommendation Engine.

The MOCA JS API provides a limited set of characteristics tailored to web pages and web applications:
  1. The SDK is provided as an embeddable code-script that contains the latest version of MOCA JavaScript SDK.
  2. The SDK provides a minimalistic API that enables a web developer to submit data to the MOCA backend servers via valid credentials.
  3. The JS SDK uses an authentication token so it can refer to a specific MOCA Web Site within the MOCA Console.
  4. All communication is exclusively HTTPS. This ensures a security layer that will keep the data protected while in transit.
  5. Our JavaScript SDK does not require any external libraries and is only 19KB in size.
  6. The SDK uses UTF-8 encoding.
  7. The JS SDK is served from http://bin.mocaplatform.com/libs/moca-latest.min.js repository.

The full integration instructions can be found here.


    • Related Articles

    • How the MOCA SDK geo-location tracking works?

      Here's a diagram that draws the moving parts that involve location, and where our SDK comes into play: We rely strongly on the mobile device OS in order to gather precise and actionable locations.
    • How to set MOCA SDK to download only when connected to Wi-Fi

      The MOCA SDK has the capability to download data only when the "Wi-Fi Only" data transmission is activated. In order to do so, here are the calls for both Android and iOS: Android SDK MOCA API Java /** * Returns true if the "Wifi Only" data ...
    • How do I receive MOCA SDK actions in my third party API?

      MOCA has a feature called Cloud-Hook. This feature enables the MOCA SDK embedded into the client mobile App to deliver location-triggered actions directly to the Third Party campaigns module and deliver segmented and personalized content to end ...
    • How Does MOCA Work?

      There are billions of people generating location data every day and it is currently not used to personalize the customer experience. With MOCA, brands can get location insights and influence their customer behavior in real life by connecting web, ...
    • Strategies to improve battery usage of our SDKs

      At MOCA we have designed our SDKs to be very efficient and use the minimum necessary battery for Proximity Marketing use cases. We prefer low energy solutions that do not involve GPS and, for Android, offer ways to fine tune the sensitivity of the ...