To create Google Plus interactive posts follow these simple steps:
- Create a Google Developer's API Account
- Create the post
- Add the Interactive post link
- Share the post
It really is that simple and here's how:
Create a Google Developer's API Account
May seem daunting but it really isn't that hard. Simply visit the Google Developers Console and create a new project. If you use Google+ Sign in or other servives that require an API you can skip this step, simply as your web designer for the "Client ID".
You'll need to enable the Google+ API, customise the consent screen and create an API key. Other than that you should be OK and can easily go back here later to add additional information.
Create The Post
Just like any other Blog article or post, you simply write it up and then we add the Interactive post code later.
Add The Interactive Post Link
The post we have created here has a Google Plus Interactive post CTA at the top of the page. The code is actually quite simple:
Anywhere on the page but ideally in the header and just before the closing
This needs to be included on every page that uses the Google Plus Interactive posts so we may as well insert it into the page headers for good measure.
Next we have the code itself:
So what does all this mean...?
- The button has a class "myBtn"
- This controls the look and feel of the button and we have included the CSS below
- This is your API client ID
- The url being linked to. You'll notice ours also has a query string "?Link=G+IPost" so we can track the posts through Analytics more easily
- This can be customised here and there are around 100 to choose from
- Must be the same as "data-contenturl"
- This is where you insert your own specific message
The image, in our case is taken from the post itself and the content for the post from the meta description for the page.
Share The Post
Now all that's left to do is share the post itself. Try it out by clicking the link below:Share This Post !
You'll notice it asks you for permission, that's the API call being made. You'll also notice that you can customise the audience by selecting "Public" or specific circles or communities.