• Resolved lukalk

    (@lukalk)


    Hi, I want to add a Hubspot script and was setting it up through the script center.

    According to your documentation the script should be added by removing the <script></script> tags.
    The problem is that the code I get back from Hubspot only has the <script> tags with some properties but no code in between, so I don’t know how to add it in the script center.

    I share below the code from hubspot, see if you can tell me how I should add it to the script center (or if I would have to add it somewhere else).

    <script type="text/javascript" id="hs-script-loader" async defer src="//js-eu1.hs-scripts.com/XXXXXXXX.js"></script>

    Thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Aert

    (@aahulsebos)

    Hi @lukalk,

    You can find the possibilities of integration with HubSpot here;

    https://complianz.io/hubspot-integration/

    regards Aert

    Thread Starter lukalk

    (@lukalk)

    Hi @aahulsebos
    thank you very much for the quick reply.

    I had previously read that documentation page, but after reading it I was still unclear how I should do the configuration.

    The first option “Integration between HubSpot and Complianz 4.9.0” I can’t use it because it says that it assumes that the HubSpot plugin is installed, but in my case I don’t have the plugin installed because I don’t need it, I just want to insert the code.

    With the second option “HubSpot in the Script Center” it is not clear to me how I should enter the code that HubSpot returns to me since the format does not match the information that appears in the documentation.

    Could you tell me the code to put in the Script Center based on the code I provided?

    Thanks in advance

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @lukalk,

    For your implementation, you can place the HubSpot script on your website as you would normally do.

    Then under Complianz > Integrations > Script Center > Block a script, iframe or plugin, add js.hs-scripts.com as the URL to block.

    Kind regards,
    Jarno

    Thread Starter lukalk

    (@lukalk)

    Hi @jarnovos

    Thank you very much, as always, for the detailed explanations!

    One last doubt: regarding the checkboxes related to “Placeholder”, and “Dependency” (in the script block configuration), would it be necessary to leave any of them checked in my case?

    Attached screenshot: See screenshot

    Thanks in advance

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @lukalk,

    Placeholder can be left unticked if the blocked content does not have a front-end visual. If you would like to add a placeholder, please see this article: 3.2.3 Add a Placeholder.

    Dependency can remain disabled for now. A common use case for these are Custom Google Maps implementations.

    Hope it helps.
    Kind regards,
    Jarno

    Thread Starter lukalk

    (@lukalk)

    Hi @jarnovos

    Thank you very much for the clarifications.

    I assumed that in my case I could leave everything unchecked, but just to confirm.

    Thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Add Hubspot script’ is closed to new replies.