mc-magento icon indicating copy to clipboard operation
mc-magento copied to clipboard

feature request for GDPR? add a cookie check before placing MC remarketing code

Open seansan opened this issue 6 years ago • 0 comments

Can we add a cookie check in the extension? We can make the cookie name and value configurable

if the cookie is found: then print remarketing code (customer gave consent)

else if not found: then do not print MC remarketing code

Something like

<?php

	$consent = false;
	$_cookie = Mage::getModel('core/cookie')->get('ow_cookie_notice');
	if ($_cookie == 'approved') { $consent = true; }

?>

<?php if ($consent): ?>

seansan avatar May 11 '18 09:05 seansan