Giter Site home page Giter Site logo

stape-io / hubspot-tag Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 64 KB

HubSpot Tag for Google Tag Manager Server Side

Home Page: https://stape.io/how-to-connect-website-with-hubspot-using-server-side-tracking/

License: Apache License 2.0

JavaScript 30.09% Smarty 69.91%
hubspot hubspot-api gtm gtm-custom-template gtm-server-side stape analytics

hubspot-tag's People

Contributors

bukashk0zzz avatar khorozhanov avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hubspot-tag's Issues

trackEventPageView not working?

Is the trackEventPageView still usable? I have been trying to make it work but didn't have any success. I see a 200 status code response, but no data appear in Hubspot.

I even tried to compare produced URL server calls with the ones generated by the client-side code but I was still not able to make it work :(

BTW I also noticed that the data.email field was not used in the source code for trackEventPageView

Tag not showing

After installing the new template - the tag does not show in the list of tags after creating a new tag of this type.

Template review feedback

Thanks for submitting a template to the gallery, there were a few issues in your template that needed to be resolved ahead of approving the template for the gallery.

  1. We see "Error in encodeUriComponent. Required argument uri not supplied." error while trying to run the code. Please resolve the issue.
    Screenshot 2021-08-26 6 06 44 PM

Error 409 when updating existing contacts

Hi,

Couldn't update the existing contacts. Below is the response with a 409 status code;

{"status":"error","message":"Contact already exists. Existing ID: 12345","correlationId":"xxxx","category":"CONFLICT"}

Thanks,
Praba.

Hubspot deprecating API Key usage

First, thanks for providing so many open-source GTM tags, and helpful guides! Your work has been a great asset in my understanding of Server GTM.

I started setting up a hubspot integration with Server GTM, and saw this deprecation notice:

Please note:
Starting November 30, 2022, HubSpot API keys will no longer be able to be used as an authentication method to access HubSpot APIs. In addition, starting July 15, 2022, you'll no longer be able to create new API keys.
Learn more about this change and how to migrate an API key integration to use a private app instead. Rotation of API keys will still be supported to maintain the protection of your data as you migrate to Private Apps.
Upon expiration on November 30, 2022, you will need to use a private app access token or OAuth to authenticate API calls.

It seems this change will necessitate changes to this server tag, and it could be helpful to update guides like this one to reflect the changes.

I'd love to contribute a Pull Request, but I'm a Server GTM n00b so might take a while - but thought I should go ahead and post this issue so others (more adept than me) can be thinking about it too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.