Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deevus/analytics-plugin-linkedin
https://github.com/deevus/analytics-plugin-linkedin
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/deevus/analytics-plugin-linkedin
- Owner: deevus
- Created: 2021-12-03T05:06:17.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2021-12-07T04:00:12.000Z (about 3 years ago)
- Last Synced: 2024-12-13T17:51:15.821Z (24 days ago)
- Language: TypeScript
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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);
```