Using this tip, you can convert a text field into a youtube video in user’s profile layout.
- Create a text profile field in WP admin – Profile – Profile fields : Here users will enter youtube video link , you can set the visibility of this field only to member types in your site.
- Note the field id
- Add this code in WP admin – WPLMS – Footer – Google analytics code and change the field id 51 to your field id : https://gist.github.com/MrVibe/d06d072f82edfb499b4684db439f2af7
- Add this field in the profile layout.