user
@stenciluser
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
Reply
user
@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);
reply
Reply