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

**URL:** <https://meta.discourse.org/t/paid-preference-to-create-embed-a-topic-via-javascript-only-when-a-user-clicks-the-start-discussion-link/78593>\
**Category:** Marketplace\
**Tags:** embedding\
**Created:** [January 21, 2018, 4:48pm UTC](https://meta.discourse.org/t/paid-preference-to-create-embed-a-topic-via-javascript-only-when-a-user-clicks-the-start-discussion-link/78593 "2018-01-21T16:48:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [January 23, 2018, 9:28pm UTC](https://meta.discourse.org/t/paid-preference-to-create-embed-a-topic-via-javascript-only-when-a-user-clicks-the-start-discussion-link/78593/6 "2018-01-23T21:28:40Z")

</div>

I think this is a definite improvement but I would go one step further.

As a general rule, only create the “shadow” topic if:

1. User is logged in to commenting site
2. User clicked a button asking to leave a comment
3. On click there should possibly be a transition where it shows that a “topic is being created” and then forwards you to it.

If user is not logged on and clicks “start conversation” it should head to the sign up page, after signup it can start the conversation.

@eviltrout what do you think?

---

_[View the full topic](https://meta.discourse.org/t/paid-preference-to-create-embed-a-topic-via-javascript-only-when-a-user-clicks-the-start-discussion-link/78593)._
