Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
seansan opened this issue May 11, 2018 · 0 comments

Comments

@seansan
Copy link
Contributor

seansan commented May 11, 2018

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): ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant