To replace the default HeySummit comments on session pages with Facebook or Disqus, have your provider's embed code ready. Custom comments require a plan that includes advanced integrations.
Configure a custom comments provider
In the event dashboard, go to Event Settings > Integrations & Developer > Integrations.
Under Session Comments Provider, select Configure.
Paste the provider code into JS / HTML Embed Code. Use
{{ current_url }}where the provider needs the full URL of each session page.Turn on Enable Custom Comments?, then select Save. The code field is required when custom comments are enabled.
Provider code examples
These existing examples show where to place the session URL. Follow your provider's current instructions for the rest of the embed code.
Facebook code:
<div id="fb-root"></div><script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v5.0&appId=YOUR_APP_ID"></script><div class="fb-comments" data-href="{{ current_url }}" data-width="600" data-numposts="5"></div>
Disqus code:
<div id="disqus_thread"></div><script> var disqus_config = function () { this.page.url = "{{ current_url }}"; this.page.identifier = this.page.url; }; (function() { var d = document, s = d.createElement('script'); s.src = 'https://EXAMPLE.disqus.com/embed.js'; s.setAttribute('data-timestamp', +new Date()); (d.head || d.body).appendChild(s); })();</script>
Replace EXAMPLE with your Disqus account name. For an account named heysummit, the embed URL would be:
https://heysummit.disqus.com/embed.js

