![38% of CISOs Fear They’re Not Moving Fast Enough on AI](https://cdn.sanity.io/images/cgdhsj6q/production/faa0bc28df98f791e11263f8239b34207f84b86f-1024x1024.webp?w=400&fit=max&auto=format)
Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@arcxmoney/analytics
Advanced tools
`ArcxAnalyticsSdk` is a wrapper for [Arcx Analytics Api](https://docs.arcx.money/#tag--analytics), which is created for increasing usability and simplicity for our api.
ArcxAnalyticsSdk
is a wrapper for Arcx Analytics Api, which is created for increasing usability and simplicity for our api.
const arcxAnalyticsSdk = await ArcxAnalyticsSdk.init(YOUR_API_KEY)
await arcxAnalyticsSdk.event('EXAMPLE_EVENT', {
attribute: 'random',
anotherAttribute: 'value',
})
npm install @arcx-attribuition-sdk
yarn add @arcx-analytics-sdk
init
This function is used to initializate the ArcxAnalyticsSdk
instance. An api key
is required to initializing the instance. In order to get your key please contact us to initiate the collaboration process.
init
takes two arguments:
Example:
import { ArcxAnalyticsSdk } from 'arcx-analytics-sdk'
...
await arcxAnalyticsSdk = await ArcxAnalyticsSdk.init(
YOUR_API_KEY,
{
trackPages: true, // default - automatically trigger PAGE event if url changed after click
cacheIdentity: true, // default - cache identity of user in his browser's local storage
}
)
event
Save a custom event
in order to be analysed by Arcx Team.
Example:
import { ArcxAnalyticsSdk } from 'arcx-analytics-sdk'
...
await arcxAnalyticsSdk = await ArcxAnalyticsSdk.init(YOUR_API_KEY)
await arcxAnalyticsSdk.event(
'EXAMPLE_EVENT',
{
attribute: 'random',
anotherAttribute: 'value',
},
)
page
Used to save a standardized event
in order to standardize and simplify tracking page's changes.
Example:
import { ArcxAnalyticsSdk } from 'arcx-analytics-sdk'
...
await arcxAnalyticsSdk = await ArcxAnalyticsSdk.init(YOUR_API_KEY)
await arcxAnalyticsSdk.page(
'EXAMPLE_EVENT',
{
url: 'https://target.url',
},
)
transaction
Used to save a standardized event
in order to standardize and simplify tracking executed transactions.
Example:
import { ArcxAnalyticsSdk } from 'arcx-analytics-sdk'
...
await arcxAnalyticsSdk = await ArcxAnalyticsSdk.init(YOUR_API_KEY)
await analyticsSdk.transaction(
transactionType, // required(string) - type of trasaction e.g. 'SWAP', 'STAKE'...
transactionHash, // optional(string) - hash of the transaction
attributes, // optional(object) - additional information about transaction
)
connectWallet
Used to save a standardized event
in order to standardize and simplify tracking connected wallets.
Example:
import { ArcxAnalyticsSdk } from 'arcx-analytics-sdk'
...
await arcxAnalyticsSdk = await ArcxAnalyticsSdk.init(YOUR_API_KEY)
await analyticsSdk.connectWallet({
account: '0x1234',
chain: '1',
})
FAQs
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![npm version](https://badge.fury.io/js/@arcxmoney%2Fanalytics.svg)](https://badge.fury.io/js/@arcxmoney%2Fanalytics) [![seman
The npm package @arcxmoney/analytics receives a total of 0 weekly downloads. As such, @arcxmoney/analytics popularity was classified as not popular.
We found that @arcxmoney/analytics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.