How to know email address of visitors to my wordpress website [closed]

I’m not sure if this is legal in all countries but you can send the emailadress back to you by adapting it in the link the user clicks to your website. e.g. The email they receive has a button that links to your website. the url of the button looks like this: <a href=”http://www.yourwebsite.com?email=”[email protected]””><img src=”button.jpg”></a> … Read more

Multiple Google Analytics for Multiple pagepath

You hook into the wp_footer and add your GA code. Here’s is how I would do it. Option 1: Get the current URL and counter check it with you selected URLs. add_action(‘wp_footer’, ‘wpse388915_custom_ga_code’, 99); function wpse388915_custom_ga_code() { $current_url = (is_ssl() ? ‘https://’ : ‘http://’) . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’]; switch($current_url) { case ‘www.example.com/page/path1’: case ‘www.example.com/page/path2’: case … Read more