Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1184440

    Hi there,

    Even though I really like the recent GDPR features added to the theme, I think it would be nice if we could have better control over what cookies can be by default enabled. For instance, a website that I am working on, uses Google Maps, Google Webfonts and Google Analytics. I would like Webfonts & Maps, as they are actually considered Functionality Cookies, to be turned on by default, but I can’t find a way to achieve this, without also turning on the Analytics, something that I want to avoid because this will make me incompliant with GDPR.

    Is there something that I am missing? Can I handle these cookies separately?

    Thanks in advance

    • This topic was modified 4 months, 4 weeks ago by  iplat. Reason: Word missing
    #1185522

    Hey iplat,

    Thank you for the inquiry.

    This is possible, but you have to manually edit some of the theme files to allow certain features such as the fonts to load automatically. For the font, edit the enfold\framework\php\class-style-generator.php file and look for this code around line 756:

    if( allow_continue )
    		{
    	var f = document.createElement('link');
    

    .., then replace it with:

    
    if( true )
    		{
    	var f = document.createElement('link');
    

    Best regards,
    Ismael

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

You must be logged in to reply to this topic.