Can you count clicks on a link using Google Sheets?
I would like to use Google Sheets to count how many times someone clicks on a link.
Reply
Posted on 11/28/2022
Please type your reply.
@support
Here's what you need to do: 1. Create a new numeric variable "urlclicks" 2. Add a JavaScript trigger/action to execute when the link is clicked:
let player = GetPlayer(); let urlclicks = player.GetVar('urlclicks'); urlclicks++; player.SetVar('urlclicks', urlclicks); SheetsSet('URL clicks', urlclicks);