managed-components / hubspot

Managed Component for Hubspot
Other
1 stars 2 forks source link

HubSpot pixel __ptq.gif vs __ptbe.gif #10

Open websirnik opened 3 weeks ago

websirnik commented 3 weeks ago

Hi, I was investigating why HubSpot pageviews are not getting received by my HubSpot. When I install the HubSpot tracking script directly on the front-end, pageviews events are sent to https://track.hubspot.com/__ptq.gif. With Zaraz, the endpoint is different: https://track.hubspot.com/__ptbe.gif - in my case, I do not see pageviews in HubSpot. Is there a reason why endpoints are different?

websirnik commented 3 weeks ago

I see that the endpoint was just changed recently without explanations https://github.com/managed-components/hubspot/pull/8 @ad-astra-via @omarmosid, what's the reason here?

websirnik commented 2 weeks ago

To validate this further, I've deployed the custom managed component based on this https://github.com/managed-components/hubspot/commit/e634dc86f9505f35d8938cc508c575741a32cd55 commit, and I started to see pageviews in my HubSpot.

@ad-astra-via the question stands: why was the endpoint changed?