-
Notifications
You must be signed in to change notification settings - Fork 76
Add SalesViewer integration #894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SalesViewer integration #894
Conversation
🦋 Changeset detectedLatest commit: beed34d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Thank you for the effort! Hopefully this integration is available soon, so that our userbase can integrate SalesViewer® into their Gitbooks. Greetings from the SalesViewer® Team |
Thanks @KevinRohn for your effort in building this! Can you please email me at addison (@) gitbook.com so I can get you set up in order to publish this on the GitBook Integration platform? Please email me with the email you’re using to publish this integration. Thank you! |
Thanks! Done |
commit: |
@addisonschultz I tested this and everything looks good. Any idea when it might be merged into production? |
Hi Team Gitbook,
@addisonschultz
We would like to track which companies are visiting our support page. We already use SalesViewer for other marketing pages. As far as I can remember, it is only possible to integrate it using script injection as the official method. Therefore, I would like to make this public.
I would appreciate it if you could have a look at this and review this PR.
This pull request introduces the initial release of the SalesViewer integration for GitBook.
New Integration Implementation:
integrations/salesviewer/src/index.ts
: Added the core logic for the integration, including a function to fetch and inject the Salesviewer tracking script with the user'stracking_id
.integrations/salesviewer/src/salesviewerScript.raw.js
: Added the Salesviewer tracking scriptintegrations/salesviewer/gitbook-manifest.yaml
: Defined the integration's metadata, including its name, description, categories, configuration properties, and required scopes for script injection.integrations/salesviewer/tsconfig.json
: Extended GitBook's TypeScript configuration for integrations.