1.1.4 • Published 6 months ago

core-outline v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

Core&Outline

Description

This package allows developers to connect to Core&Outline platform

How to install

npm i core-outline

Starting a new instance

var core = new CoreOutline(<app_id>)

To get the session details

var session_details = core.sessionDetails()

""" { "session_id":"<session_id>", } """

End current session

endCurrentSession()

Tracking user actions

Update current page

Use this function when a user enters a page:

core.setCurrentPage(<current_page_name>, <is_terminal>)

Register a made purchase

Add this function to an onclick listener for when a user completes a transaction

core.recordPurchase()

Register an action item click

This function is to be used when a user clicks on one of the recommended actions items

core.recordItemClick(<recommended_action_item_id>)

1.1.1

6 months ago

1.1.0

6 months ago

1.1.4

6 months ago

1.1.3

6 months ago

1.1.2

6 months ago

0.1.0

12 months ago

0.1.1

12 months ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago