Answers.Body: <p>I would do this with a Drupal webform as follows:</p>
  
  <ul>
  <li>Contact 1 - current user (if not logged in you'd need a checksum)</li>
  <li>Contact 2 - the person to be tagged - set this as "existing contact" prepopulated from the url.</li>
  <li>The tag will have to be preselected in the webform, so you'd have do clone this webform for each tag you want.</li>
  <li>Add a tiny bit of javascript to the form to make it auto-submit.</li>
  <li>On submit, redirect or display a success message.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-02T17:24:35.430Z
Answers.LastActivityDate: 2017-06-02T17:24:35.430Z
Answers.UserDisplayName: Coleman
Body: <p>Is it possible to build a url to be included in an email sent from CiviCRM such that when the user clicks the link, they will automatically be tagged with a term in the system? Or maybe add an activity to their record? Basically I'm looking for a way to do a 1-click and done action to track some things in the system. </p>
  
  <p>Forgot to mention I am using Drupal. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-30T19:52:49.190Z
Comments.Text: It would help if you specify your CMS since I can imagine that Drupal might offer some options eg, link back to a webform which user submits, result being user gets tagged. not quite one-click, but closer than civi offers out of the box
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-30T22:59:33.073Z
Comments.Text: Thanks, yes I am looking at the webform route as a worst case scenario, but was hoping someone had a cool one click solution.
Comments.UserDisplayName: Roland Snowe
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-31T00:30:43.290Z
Comments.Text: Understood. We all hope for the Cool One Click Extension at times
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-02T17:20:54.703Z
Comments.Text: You could add a little js to the webform to make it autosubmit as soon as it's loaded.
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-30T23:21:35.473Z
Comments.Text: Could something be created with CiviEntity and Rules?  Perhaps: The email has a link to a particular node and the URL includes a token for the contact's Civi ID. Then when that node is viewed, the Contact ID from the URL is fetched and then a tag is added to that Contact ID?
Comments.UserDisplayName: Allen Hutchison
Tags: <email><activities><tags>
Title: Tag Contact Via Link in Email
ThreadText: # Tag Contact Via Link in Email
  
  (Asked by: username_0 on 2017-05-30)
  
  Is it possible to build a url to be included in an email sent from CiviCRM such that when the user clicks the link, they will automatically be tagged with a term in the system? Or maybe add an activity to their record? Basically I'm looking for a way to do a 1-click and done action to track some things in the system.
  
  Forgot to mention I am using Drupal.
  
  **Tags:** email, activities, tags
  
  > **Comments:**
  > **username_1**: It would help if you specify your CMS since I can imagine that Drupal might offer some options eg, link back to a webform which user submits, result being user gets tagged. not quite one-click, but closer than civi offers out of the box  
  > **username_0**: Thanks, yes I am looking at the webform route as a worst case scenario, but was hoping someone had a cool one click solution.  
  > **username_1**: Understood. We all hope for the Cool One Click Extension at times  
  > **username_2**: You could add a little js to the webform to make it autosubmit as soon as it's loaded.  
  > **username_3**: Could something be created with CiviEntity and Rules?  Perhaps: The email has a link to a particular node and the URL includes a token for the contact's Civi ID. Then when that node is viewed, the Contact ID from the URL is fetched and then a tag is added to that Contact ID?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-06-02. Score: 1
  
  I would do this with a Drupal webform as follows:
  
  * Contact 1 - current user (if not logged in you'd need a checksum)
  * Contact 2 - the person to be tagged - set this as "existing contact" prepopulated from the url.
  * The tag will have to be preselected in the webform, so you'd have do clone this webform for each tag you want.
  * Add a tiny bit of javascript to the form to make it auto-submit.
  * On submit, redirect or display a success message.
  
  
  ---
  
  