[paid] Preference to create & embed a topic via JavaScript only when a user clicks the "Start Discussion" link

My sense is that a PR would be the better route here. But let me pose the concept as I understand it:

  1. This would create a new /comments route that requires two parameters: url and user-click. This URL would be used under the “Start Discussion” link.
  2. The user-click parameter would be appended by javascript when clicked to stop crawlers from triggering it.
  3. If a topic already exists for the embed url passed as a parameter, then the user is redirected to that topic.
  4. If the topic does not exist, the topic is created as per usual.

My biggest question is around settings. Is this intended to be the default way this should work or is this a setting enabled in the embed setup? We may need someone from the team to answer that one. Especially if this is to be a PR.

3 Likes