<p>This is a bit tricky, and there may be some tradeoffs that I'm unaware of, but the following code works for me:</p>

<pre><code>&lt;script src="https://apis.google.com/js/plusone.js"&gt;&lt;/script&gt;

&lt;div style="width:100%"&gt;
  &lt;div class="g-comments"
       data-href="{{ entry.url }}"
       data-width="675"
       data-first_party_property="BLOGGER"
       data-view_type="FILTERED_POSTMOD"&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Two things to note about the code above. </p>

<ol>
<li><p>You want to pass the url that will be associated with the comments to the <code>data-href</code> attribute. The example above assumes you are on a page where <code>{{ entry.url }}</code> is the value you want.</p></li>
<li><p>The line that references BLOGGER is required: <code>data-first_party_property="BLOGGER"</code></p></li>
</ol>

<p>I can't explain why that is, but the odd specificity of it may also be a reason why this isn't an easy thing to figure out how to do, as it may suggest this is an unsupported method of adding Google Comments to your site or that the method to add Google Comments to your site will change at some point.</p>

<p>In my searches however, this was the only method I found to do it at all and it seems to be used by several people and work just fine at the time of this post.</p>

CC BY-SA 3.0
2014-06-12T14:35:42.207Z
2014-06-12T14:35:42.207Z
Ben Parizek
<p>How can I implement Google+ comments into Craft CMS?</p>

CC BY-SA 3.0
2015-01-07T20:34:11.623Z
I wouldn't use Google+ (baring some strange requirement). Having tested Google+, Facebook and Disqus we get way more mileage out of Disqus. I think this has to do with the way content is shared. When commenting on Facebook or Google+ the network effect is far more limited than the content discovery we have been able to leverage from Disqus. Luckily, pretty complete disqus instructions are available at the craft website. Hope this makes sense.
David A McInnis
<comments>
How do I implement Google+ comments on a Craft site?
# How do I implement Google+ comments on a Craft site?

(Asked by: username_0 on 2014-06-12)

How can I implement Google+ comments into Craft CMS?

**Tags:** comments

> **Comments:**
> **username_1**: I wouldn't use Google+ (baring some strange requirement). Having tested Google+, Facebook and Disqus we get way more mileage out of Disqus. I think this has to do with the way content is shared. When commenting on Facebook or Google+ the network effect is far more limited than the content discovery we have been able to leverage from Disqus. Luckily, pretty complete disqus instructions are available at the craft website. Hope this makes sense.  

---

## 1 answers

### Answer by username_2 on 2014-06-12. Score: 6

This is a bit tricky, and there may be some tradeoffs that I'm unaware of, but the following code works for me:

Two things to note about the code above.

1. You want to pass the url that will be associated with the comments to the `data-href` attribute. The example above assumes you are on a page where `{{ entry.url }}` is the value you want.
2. The line that references BLOGGER is required: `data-first_party_property="BLOGGER"`

I can't explain why that is, but the odd specificity of it may also be a reason why this isn't an easy thing to figure out how to do, as it may suggest this is an unsupported method of adding Google Comments to your site or that the method to add Google Comments to your site will change at some point.

In my searches however, this was the only method I found to do it at all and it seems to be used by several people and work just fine at the time of this post.


---

