# Intercom + Discourse

**URL:** <https://meta.discourse.org/t/intercom-discourse/68084>\
**Category:** Support\
**Created:** [August 15, 2017, 3:16pm UTC](https://meta.discourse.org/t/intercom-discourse/68084 "2017-08-15T15:16:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ryan\_Collins1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_collins1/32/76781_2.png) [@Ryan\_Collins1](https://meta.discourse.org/u/Ryan_Collins1)\
**Post date:** [August 22, 2017, 3:24pm UTC](https://meta.discourse.org/t/intercom-discourse/68084/3 "2017-08-22T15:24:52Z")

</div>

Thank you very much for the helpful reply!

I have placed the code below within the area (please see attached image).

So far I have not been able to load the Intercom messenger, but I will continue working on this and will post my results.

```js
    <script>
  window.intercomSettings = {
    app_id: "m866jl5z",
    name: <%= current_user.name %>, // Full name
    email: <%= current_user.email %>, // Email address
    created_at: <%= current_user.created_at.to_i %> // Signup date as a Unix timestamp
  };
  </script>

```

```js
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/m866jl5z';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>

```

 ![Intercome:Discourse](https://global.discourse-cdn.com/meta/original/3X/0/2/02e4d335c6dd31d8f5d221f7f6a1f101fef63429.png)

---

_[View the full topic](https://meta.discourse.org/t/intercom-discourse/68084)._
