Way to disable VisitorContactInfo? | WordPress.org

[ad_1]

This free version of the plugin does its job just fine – many thanks to the author.

But for privacy reasons, I’d like to disable the ‘VisitorContactInfo’ part of the purchase event’s DataLayer. That part holds personal information about the customer that I don’t want to send to Google, and moreover it’s probably illegal in the EU to do so.

In fact, I’m not reading anything about a ‘VisitorContactInfo’ part of any DataLayer on Google’s support pages. So maybe this isn’t an official thing? If not, then I would recommend getting rid of it entirely.

If it should be there, then I think a WordPress action or filter would be ideal for making it optional, or else a checkbox on the settings screen. This would be great for both the free and paid versions of your plugin.

I hope you will consider this for your European / privacy-minded users. In the meantime I’ll remove the ‘VisitorContactInfo’ part manually from the code for now.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer