Scenario: User1 clicks a CTA button directing them to a specific page/post/article/shopping cart etc. Admin receives notification: "User1 Clicked on link http://thisiswhatiminterestedin.com Now I can assign User1 to a group that is interested in x topic, and I can send him more targeted curated information/products/etc. I know that there are plugins on WP that can do this, but I don't think they would give me that users memberid. Anyone figured out a workaround for this type of thing?
If you are using amember4 plugin in wordpress you can get user's ID: via shortcode: [am4user var='user_id'] or in php: PHP: $user = Am_Lite::getInstance()->getUser();echo $user['user_id']; So you should be able to get user_id in wordpress plugin .