managed-components / managed-components/hubspot

HubSpot Events Don't work With Zaraz

Open
#7 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I've created a custom event in HubSpot, as per this article - https://knowledge.hubspot.com/analytics-tools/create-custom-behavioral-events-with-the-code-wizard

When I created the event, I selected "Send VIA Api".

I confirmed a working trigger in Zaraz since I also sent this event to multiple other platforms, such as GA4.

See below config:

Screenshot 2024-03-28 at 11 44 07

The event never comes up in HubSpot, so something seems to be hindering that from happening.

I thought that maybe the event shouldn't be sent via the HubSpot API, so I tried JS as well. However, none of them are working.

When I sent the event to the HubSpot API (https://api.hubapi.com/events/v3/send) using Postman, it came up immediately.

Am I missing something?

Thanks
Chris

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the Zaraz HubSpot request with the successful Postman request to https://api.hubapi.com/events/v3/send, using the configuration and screenshot in the issue. Check both the API and JavaScript delivery paths described; the work is done when the configured custom event appears in HubSpot.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.