Skip to content
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 hubspot integration #417

Merged

Conversation

nimrod-codota
Copy link

@nimrod-codota nimrod-codota commented Mar 3, 2024

Add a new integration for HubSpot Reporting & Analytics. Roughly following hotjar integration implementation. Since there's no standard for where the HS JS is stored across regions and portals, I have set the entire URL from which the integration fetches the script as the configuration variable.

Copy link

changeset-bot bot commented Mar 3, 2024

🦋 Changeset detected

Latest commit: 13a762c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@gitbook/integration-hubspot Major

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

@addisonschultz
Copy link
Collaborator

Thanks for starting this PR @nimrod-codota and contributing to our Integration Platform! I'll be helping to look into getting this working with you.

Can you reach out to me over email (addison @ gitbook.com)? I just have a few more questions, but so far it's looking good to me!

@woopstar
Copy link

+1 on this one. Would love to test it if needed @addisonschultz

You can provide me access to it like on the Mouseflow integration

@addisonschultz addisonschultz added the new-integration New integrations added to the integration platform label Apr 16, 2024
@nimrod-codota
Copy link
Author

hi @addisonschultz, saw your email on some necessary changes here. Will you be able to merge this after I enact the requested changes?

@addisonschultz
Copy link
Collaborator

Hey @nimast - going to close this PR as I’ve got a new one up based off the work you’ve done that has been updated a little more. Thank you so much for you contribution!

https://github.com/GitbookIO/integrations/pull/533/files

If you’d like to make any edits, you can make edits on the branch linked above.

@nimast
Copy link

nimast commented Nov 26, 2024

I would like my code to be added with my name on it. I think my contributions were already significant enough.

@nimast nimast mentioned this pull request Nov 26, 2024
@addisonschultz
Copy link
Collaborator

Apologies @nimast - I’d like to merge in your original contributions to the updated branch. Apologies for the mis-interpretation, there were some added changes we’d have liked to be included with the original PR, which I should have made on top of this branch.

@nimrod-codota nimrod-codota changed the base branch from main to add/gitbook-hubspot November 26, 2024 15:36
* add/gitbook-hubspot: (40 commits)
  Remove undefined variable
  reformat
  Update loading of script
  Add changeset
  Add hubspot integration with updated sites permissions
  Version Packages (GitbookIO#526)
  Fix bug when mermaid block is quickly updated (GitbookIO#525)
  Version Packages (GitbookIO#524)
  Add debug logs to mermaid iframe (GitbookIO#523)
  Version Packages (GitbookIO#522)
  Add bust cache parameter to mermaid iframe url (GitbookIO#521)
  Version Packages (GitbookIO#520)
  Improve mermaid integration to have a more robust iframe (GitbookIO#519)
  Version Packages (GitbookIO#518)
  Update API client with latest OpenAPI spec (GitbookIO#517)
  Version Packages (GitbookIO#515)
  Update API client with latest OpenAPI spec (GitbookIO#514)
  Version Packages (GitbookIO#512)
  Bump @gitbook/api to use the latest OpenAPI spec (GitbookIO#513)
  Add optional check for undefined space variables (GitbookIO#511)
  ...

# Conflicts:
#	integrations/hubspot/.eslintrc.json
#	integrations/hubspot/CHANGELOG.md
#	integrations/hubspot/gitbook-manifest.yaml
#	integrations/hubspot/src/index.ts
#	integrations/hubspot/src/script.raw.js
@nimast
Copy link

nimast commented Nov 26, 2024

thank you @addisonschultz! I appreciate it. I changed the base of this PR to your branch and merged it in so we don't have conflicts. Seems there are no outstanding changes except taking the commits from here. Please let me know if there's anything else I can do to support getting this merged. Thanks again!

@addisonschultz addisonschultz merged commit db54652 into GitbookIO:add/gitbook-hubspot Nov 27, 2024
@addisonschultz
Copy link
Collaborator

Thanks again - and apologies for the miscommunication / direction! We’d like to make just a few more tweaks to it before we put it live. But thank you for your contribution, it’s greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-integration New integrations added to the integration platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants