How to set up URL-specific comments on Webflow collection pages?

Post author
Spencer Moser

How would I go about making URL specific commenting in a collection page in Webflow? Thank you!

Comments

4 comments

  • Comment author
    A J

    Hey Spencer Moser, do you mean you want to keep the comments unique for each CMS collection page?

    If yes, I have seen people use data-ms-channel={{CMS ID}} or any unique value from the CMS that you are looking to separate the channels by. This will ensure you have unique chat history for every CMS page.

    Let me know if you mean something else.

    0
  • Comment author
    Spencer Moser

    Hey A J So all I would need to do is add an attribute to a div block surrounding the commenting components?

    0
  • Comment author
    A J

    Hey Spencer Moser, ideally if you have cloned the commenting component of memberstack you would already have this attribute in the comment-channel div block, you would just need to fill it with appropriate CMS value that you want.

    For reference, in the commenting component that I cloned, I can see that the comment-channel div had a attribute data-ms-channel along with data-ms-channel-sort attribute. I just mapped the CMS ID in my example for the data-ms-channel attribute as highlighted in the screenshot. You can check the navigator in screenshot for reference as to where this div resides as well.

    0
  • Comment author
    Spencer Moser

    Awesome -- this is so helpful. It worked -- appreciate the help A J

    0

Please sign in to leave a comment.