Event tags could be added to corresponding user interaction events. To do this, use dataLayer.push-method. Notice that "event"-variable should come first because it tells Google Tag Manager to start listening to other fields. Documentation can be found: https://developers.google.com/tag-manager/android/v3/ua
This is pseudo code but this is roughly how it should go.
Share on FB/Twitter/??: dataLayer.push:
"event", "shareArtist",
"artistName", "[Artist name]",
"media", "[Social media name]"
Play artist on YouTube/Spotify: dataLayer.push:
"event", "playArtist",
"artistName", "[Artist name]",
"medium", "[Medium name]"
Event tags could be added to corresponding user interaction events. To do this, use dataLayer.push-method. Notice that "event"-variable should come first because it tells Google Tag Manager to start listening to other fields. Documentation can be found: https://developers.google.com/tag-manager/android/v3/ua
This is pseudo code but this is roughly how it should go.
Share on FB/Twitter/??: dataLayer.push: "event", "shareArtist", "artistName", "[Artist name]", "media", "[Social media name]"
Play artist on YouTube/Spotify: dataLayer.push: "event", "playArtist", "artistName", "[Artist name]", "medium", "[Medium name]"
Add favorite: dataLayer.push: "event", "addFavorite", "artistName", "[Artist name]"