Our tests are being saved in both Hubspot Sandbox and Production

Eventhough we set 2 different credentials for Sandbox and Production, our tests from Sandbox are keep being send to Production.
How to trouble shoot this behavior? And stop it from happening.
We asked one of our Hubspot partner and this is their reply:

If you are using 2 separate tracking codes and 2 separate keys for contact creation for your dev and prod environments, then there should not be of contacts being created in both environments.
=> We are using 2 separate keys but still contacts are created in Development env (with Sandbox credential) go through both Dev and Prod.
Thank you,

Hi, @chaungng. Thanks for reaching out. To confirm, when you say Sandbox, you are referring to the Sandbox feature here? HubSpot Sandboxes

If so, because this is a feature available to Enterprise subscriptions, I suggest that you file a support ticket.

I have a few general suggestions you can include when filing your support ticket:

  • Double-check your tracking codes and API keys for both environments. Ensure that you are using the correct keys and tracking codes in the right places. Mixing up the keys could cause data to be sent to the wrong environment
  • Try creating contacts in your sandbox environment and check the network logs to see where the requests are being sent. If requests are indeed being sent to your production environment, this can indicate an issue with your configuration

Best,

Jaycee