• Resolved morcth

    (@morcth)


    Hello,

    Just installing and configuring the Hub plugin for our staging wordpress sites.

    I configured the banner at hubspot fine and it is now showing up on the site.

    The issue is we already have other scripts and a gdpr consent plugin which launches some scripts on load with a turn off option.

    We don’t want two banners.. one for GA and some other scripts and then one for Hub.

    I don’t see a place to add other scripts that can be blocked on revoke for the hub banner and I can’t find anything I could add to my current gdpr plugin to block the load if they toggle to off.

    I found the remove cookie code on Hub BUT I can’t run code on revoke… only block it from running.

    The only thing I can think of is to create the hub remove button in the cookie settings text so they would have to toggle the switch off AND also hit the hubspot button.

    I will test this but are there any other options?

    Thanks!
    Josh

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter morcth

    (@morcth)

    Also, I got the remove cookies button working (Would still much rather not having to have them hit 2 toggles) and I realize it just removes the current cookies. On page reload, the cookies come back.

    I’d like to do it similar to your banner and all other banner plugins… if they turn off tracking, it adds a cookie which stops the other cookies from loading on refreshes or future visits.

    OR, being able to add head, boddy and footer code to your banners that can be turned off and on?

    Thanks,
    Josh

    Hello @morcth

    Thanks for being in touch. That consent banner is not managed by this plugin but there are some actions you can take to achieve the scenario you explained. In the knowledge base article regarding cookie tracking setting (https://knowledge.hubspot.com/reports/customize-your-cookie-tracking-settings-and-privacy-policy-alert) mentions that:

    
    If you want to allow users to edit their consent, you can work with a developer to implement that functionality using the HubSpot Tracking Code API. Learn more about implementing additional consent status and cookie removal functions in the developers documentation.
    

    If you check the tracking consent API doc (https://legacydocs.hubspot.com/docs/methods/tracking_code_api/tracking_code_overview), you have a section called Removing consent banner cookies and another one Place do not track cookie that I hope it would help you achieving what you need.

    We hope this can solve your problem.

    Kind regards,
    Alvaro.

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

The topic ‘Other consent scripts – GDPR’ is closed to new replies.