Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deevus/analytics-plugin-linkedin


https://github.com/deevus/analytics-plugin-linkedin

Last synced: 18 days ago
JSON representation

Awesome Lists containing this project

README

        

# LinkedIn

This library exports the `linkedin` plugin for the [`analytics`](https://www.npmjs.com/package/analytics) package & standalone methods for any project to use to make it easier to interact with [LinkedIn](https://www.linkedin.com/).

This analytics plugin will load LinkedIn into your application.

## Installation

```bash
npm install analytics
npm install analytics-plugin-linkedin
```

## How to use

```typescript
import Analytics from "analytics";
import linkedin from "analytics-plugin-linkedin";

const analytics = Analytics({
app: "awesome-app",
plugins: [
linkedin({
accountId: "1234", // required
}),
],
});
```

## Registering a conversion plugin

```typescript
analytics.plugins.linkedin.conversion(conversionId);
```