• Resolved beatravelling

    (@beatravelling)


    Hi,

    Do I need to add the Google Analytics code to the script blocking head box in the Cookie Notice by dFactory plug-in if I have the EU Compliance Addon?
    Many thanks in advance.

    Regards, Beathe

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author chriscct7

    (@chriscct7)

    Nope!

    If you have the EU Compliance addon installed we’ll handle integrating with Cookie Notice automatically.

    Thread Starter beatravelling

    (@beatravelling)

    Thanks!

    @chriscct7 I have a question about the same subject. Before the 6.0 update, there was an option to stop the plugin from automatically placing the tracking code. I used Cookie Notice to place it, after the notice was accepted.

    Now, however, it is automatically placed and visitors are tracked regardless of if they accepted the notice or not. How can I stop the automatic placement of the tracking code from within the plugin? I can’t find the option.

    Thank you in advance!

    Plugin Author chriscct7

    (@chriscct7)

    Hi @thewarisnotover,
    I think you’re referring to ExactMetrics perhaps, but not to worry. I’m not sure if you’re a developer or not, but I’ll give that explanation just in case.

    The thing we tried to solve with the new 6.0 tracking format is letting people have the ability to place JS click tracking events and even if the user won’t be tracked, the functions for those will be defined (as a stub) so that way you don’t run into undefined js errors that break the link, so we don’t have a super 1:1 replacement, particularly not in options but you could get really close by doing a filter of exactmetrics_get_ua_code and filtering to return false if the user has not accepted yet. That’d prevent the tracking code from being output. The only thing is that wouldn’t be totally compatible with page caching, unless you did an exclusion of cache based on the presence of cookie (deconf’s that they set on acceptance).

    It’s a bit different than what you were doing before, but a different option is in our EU addon we wrote a snippet to integrate the Deconf plugin by listening for the acceptance action and then triggering tracking, but the tracking js file would still be loaded onto the page in that case, it’s just not executed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘EU Compliance Addon & Cookie Notice by dFactory – script blocking’ is closed to new replies.