• Jan

    (@krugmedien)


    Hi PixelYourSite-Team,

    by activating the option “Watch Video (YouTube and Vimeo embedded videos)” PixelYourSite creates a connection to youtube.com, where at least the users IP address is transferred to a third party company.
    Which could be a problem with the GDPR where IP addresses are private data.

    Therefore I disabled this event on my customers website.

    pixelyoursite-pro/dist/scripts/public.js:752

    if (typeof window.YT === 'undefined') {
        var tag = document.createElement('script');
        tag.src = '//www.youtube.com/iframe_api';
        var firstScriptTag = document.getElementsByTagName('script')[0];
        firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
    }

    I am using the plugin Borlabs Cookie to control third party connections.
    It works well with Facebook, Google Analytic and Pinterest, but I cant make this function only run after the users has given consent.

    Is there some simple js function to enable video tracking (after the visitor has accepted tracking)?

    Thank you. ??

  • The topic ‘GDPR youtube event tracking’ is closed to new replies.