AddThis Blog

How to Make Smart Layers Talk Your Talk

Smart Layers is an extremely user-friendly tool. It’s designed to invite your visitors to share your content, show them cool content, and even try to convince them to stay in touch with you on your social networks. But to some of your visitors, Smart Layers may come across a little “stiff.” Just like your parents and grandparents, Smart Layers isn’t always up on the latest slang or teen vernacular. That’s why you can customize!

Depending on your audience, you may want to tell Smart Layers how to talk to your visitors. For example, Smart Layers will automatically tell your visitors:

Thanks for sharing!

That probably sounds OK to most of you, but if your site/blog is dedicated to connecting people who love medieval role-playing, it might be more appropriate to have Smart Layers tell your visitors this instead:

Thank ye good sir for spreading the word of our fine site!

So using the Smart Layers API, you can teach Smart Layers what to say to your visitors. To accomplish the above, you will modify your Smart Layers code to look like this:

addthis.layers({ 
  'share' : { 
    'postShareTitle' : 'Thank ye good sir for spreading the word of our fine site!' 
  }
});

By copying and pasting the above code, your page will show just the Share Layer. But after your visitors share something, they would see the following:

And you probably noticed how the sub-title says:

Recommended for you

Obviously, it should say:

On the honor of my site, I bid thou visit these pages:

To get this, you’ll have to modify your code again to look like this:

addthis.layers({ 
  'share' : { 
    'postShareTitle' : 'Thank ye good sir for spreading the word of our fine site!',
    'postShareRecommendedMsg' : 'On the honor of my site, I bid thou visit these pages:' 
  }
});

And it’ll show up as this:

Customize Away, Ye Lad

Smart Layers provide a number of messages you can customize. For example, you can customize the message shown after a visitor shares, or the message after a visitor follows, and even the messages in the What’s Next Layer. (That includes a share message, follow message, and recommended content message).

With all those customizations, you can really make Smart Layers talk the way your audience does. So make Smart Layers one of the cool kids who not only walks the walk, but also talks the talk. Good luck, and if you need help, don’t hesitate to post questions in the comments below or visit our Support Portal.