https://github.com/deevus/analytics-plugin-linkedin
https://github.com/deevus/analytics-plugin-linkedin
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deevus/analytics-plugin-linkedin
- Owner: deevus
- Created: 2021-12-03T05:06:17.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2021-12-07T04:00:12.000Z (over 4 years ago)
- Last Synced: 2025-05-08T14:46:52.363Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
```