I'm apart of an organization and am wondering if there is a way to pull the domain of the individual applying a snippet from a team folder.
Context:
We're attempting to track snippet application for multiple reasons to be forwarded to a google form (and eventually a google doc). The roadblock we're running into is tracking who is applying the snippet. Is there a code already in place for this?
If not, this function would be extremely useful to have access to
One way you could implement such a workflow is to insert the user property inside every snippet, and then use {urlsend} to send that information to a pre-populated google form as explained in the post below:
For domain names of the user you don't need to configure any properties. The {user: email} command will include the user's email and you can get the domain name like so:
@Andrew_Blackburne - Scott's solution is probably a lot more practical than mine. You should try that first.
The solution I proposed might be a good fit in cases where you wanted to have a unique identifier for each user, which might be cumbersome if you have many of them.