RudderStack lets you send your event data to Lemnisk via the device mode using the native web SDK.

Identify

You can use the identify call to identify a user and associate them to their actions. It also lets you record any traits about them like their name, email, etc.

When you send an identify event via Rudderstack, Lemnisk's identify event is triggered. Lemnisk needs a unique user ID to associate an event with a user. By default, it uses a cookie to identify the user. Optionally, you can also pass a unique user ID in the first parameter of the identify call.

A sample identify call is shown below:

rudderanalytics.identify("hashed_user_id", {
name: "Alex Keener",
email: "alex@example.com",
})

Property mappings

The following table lists the mappings between the RudderStack and Lemnisk properties:

RudderStack propertyLemnisk propertyData type
userId
anonymousId
Required
userIdString
traitscustomerPropertiesObject

Track

The track call lets you record the user actions along with any properties associated with them. When you send a track call via Rudderstack, Lemnisk's track event is triggered.

A sample track call is shown below:

rudderanalytics.track("Product Reviewed", {
review_id: "12345",
product_id: "123",
rating: 3.0,
review_body: "Average product, expected much more."
})

Property mappings

The following table lists the mappings between the RudderStack and Lemnisk properties:

RudderStack propertyLemnisk propertyData type
event
Required
eventString
propertiespropertiesObject

Page

The page call lets you record when a user views a page of your website, along with any optional properties about the page. When you send a page call via Rudderstack, Lemnisk's page event is triggered.

A sample page call is shown below:

rudderanalytics.page("Home")

Property mappings

The following table lists the mappings between the RudderStack and Lemnisk properties:

RudderStack propertyLemnisk propertyData type
namenameString
context.page
properties
propertiesObject

Contact us

For more information on the topics covered on this page, email us or start a conversation in our Slack community.

On this page