This is a simple Data Blaze space for tracking snippet usage. it includes the email of the person that used the snippet, the snippet id (find the snippet using this URL: Text Blaze | Snippet, Text Expander, works anywhere) and the date and time.
The usage reporting snippets
logs the data into the table.
The sample snippet
shows how you can import the first snippet into any snippet to log its usage.
Feel free to copy this bundle to Text Blaze and tailor it to your needs.
3 Likes
In continuation of this post, here's the code to also store the website where the snippet is triggered.
I wonder how one would go about capturing what field on the page the snippet was triggered in. Something like this would be especially useful for those using Text Blaze in Salesforce, and other platforms/apps where the same snippet might be triggered in multiple places. I'm gonna tinker with it and see if I can figure it out.
1 Like
is there a way to change the snippet ID to the snippet label?
HI I am trying to create this but instead of copying the snippet ID I would like it to copy the snippet shortcut. Is there a way to change that data log?
Hi @echapman Sorry for the late response.
Here is our {snippet} command reference: Text Blaze | {snippet}
From my snippet, you can replace {snippet: id} with {snippet: shortcut} to get the shortcut of the snippet that was triggered. Let me know if it works for you.
All good! I am not seeing the snippet commands on my list of commands to use.
Thanks for the feedback. Currently, we don't show the {snippet} command in the list of commands. Please type it out manually in the snippet editor to use it.
gotcha. thank that worked