I´m new im programing and get a Youtube video explaining how to make a covertion to calculate the amount of views each of authors on the Wordpress website. My Problem is, how can I get the vatiable that I should put on the code:
window.dataLayer = window.dataLayer || [];
window.dataLayer.push ({
'author' : 'John Doe'
})
John Doe = The variable to get the Name or UserId from the Author.
Can Anyone HELP this desperated soul
Thanks Rodrigo Moragas