• Resolved flofe

    (@flofe)


    Hi,

    I’ve installed the Cookie Opt In Plugin and have arranged and translated all the settings accordingly. So far so good.

    I also managed to add the code for ‘tracking’ before my google analytics code: <?php if (!function_exists(‘coia’) || coia(‘tracking’)) { ?> and closing with <?php } ?>.

    Now I don’t know where to add:
    <?php if (!function_exists(‘coia’) || coia(‘social’)) { ?>

    I do have a facebook fanbox on my website and I also use the ShareThis plugin. Do I need to apply the cookie code to both?

    –> WHERE DO I HAVE TO ADD THE CODE LINE?

    I would be very happy about some help!

    THANKS, flofe

    http://wordpress.org/extend/plugins/cookie-opt-in/

Viewing 2 replies - 1 through 2 (of 2 total)
  • <?php if (!function_exists(‘coia’) || coia(‘social’)) { ?>

    <?php } ?>

    Goes around any code that would generate a social cookie.

    If you use your own code to present Facebook Like, Google+ or Tweet This functionality, you place it around that.

    If it is a plugin, you probably can use the Cookie-Opt-In plugin’s functionality of removing actions.

    Please see the settings panel for that.

    no response in 2 months, I assume the problem is resolved.

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

The topic ‘where to implement the code?’ is closed to new replies.