Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
ingrow-js-sdk
Advanced tools
This Javascript SDK is created by Ingrow. It helps you send events in your web applications to the Ingrow event streaming platform to make insights based on them.
<script src="https://github.com/ingrowco/ingrow-js-sdk/blob/main/dist/index.js" />
<script>
var ingrow = new Ingrow("API_KEY", "PROJECT_ID")
</script>
Install with npm or yarn
npm install ingrow-js-sdk
Import SDK
import Ingrow from "ingrow-js-sdk"
After importing SDK, you must initialize it by giving api key
and project id
that you have received from Ingrow panel.
const myIngrow = new Ingrow("API_KEY", "PROJECT_ID")
It is possible to trace events related to specific user by adding user id
to arguments and initialize like this:
const myIngrow = new Ingrow("API_KEY", "PROJECT_ID", "USER_ID")
Or using setUserID method
myIngrow.setUserID("USER_ID")
By default ingrow set an id in localstorage for all users which is gravely useful for data analysis
By default the IP of user will attached automatically to events but You can
overwrite by sending the according IP in your custom data with IP
key.
After initializing SDK, you can send event using sendEvent()
method. You must pass stream name and custom data, and optionally pass options which is described bellow. for example:
myIngrow.sendEvent("STREAM_NAME", {
description: "paginate",
event_type: "Click",
element_type: "Button",
}, {
sendDeviceInfo: false, // append some information about users device
done: () => {}, // it will be called when it gets done
})
FAQs
javascript module to help using Ingrow event streaming platform
We found that ingrow-js-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.