Facebook, Google+ and Twitter sharing goals

Asked

Viewed 83 times

1

Whenever I enter goals for shares on sites in general, I follow the patterns below, the question is as follows:

There are more goals that are considered important in these three social networks that I can include in my projects, which will improve your visualization in the same if shared, or only these are enough?

Targets:

<?php
if (isset($produto_interna)) {
    foreach ($produto_interna as $interna_produtos) {
        ?>
        <!-- para o Twitter Card -->
        <meta name="twitter:card" content="product">
        <meta name="twitter:site" content="<?php print $config_topo[0]->twitter ?>">
        <meta name="twitter:title" content="<?php print $interna_produtos->nome_produto ?>">
        <meta name="twitter:description" content="<?php print character_limiter($interna_produtos->descricao_produto, 150); ?>">
        <meta name="twitter:creator" content="<?php print $config_topo[0]->twitter ?>">
        <meta name="twitter:image" content="<?php print base_url(); ?>categoria/imagem_crop/<?php print $interna_produtos->imagem_produto ?>">
        <meta name="twitter:data1" content="R$<?php print $interna_produtos->valor_produto ?>">
        <meta name="twitter:label1" content="Preço">
        <!-- Código do Schema.org também para o Google+ -->
        <meta itemprop="name" content="<?php print $interna_produtos->nome_produto ?>">
        <meta itemprop="description" content="<?php print character_limiter($interna_produtos->descricao_produto, 150); ?>">
        <meta itemprop="image" content="<?php print base_url(); ?>categoria/imagem_crop/<?php print $interna_produtos->imagem_produto ?>">
        <!-- para o sistema Open Graph - Facebook -->
        <meta property="og:locale" content="pt_BR">
        <meta property="og:type" content="article"/>
        <meta property="og:url" content="<?php print base_url(); ?>categoria/<?php print $interna_produtos->slug_categoria ?>/<?php print $interna_produtos->slug_produto ?>"/>
        <meta property="og:title" content="<?php print $interna_produtos->nome_produto ?>">
        <meta property="og:site_name" content="<?php print $config_topo[0]->titulo ?>"/>
        <meta property="og:description" content="<?php print character_limiter($interna_produtos->descricao_produto, 150); ?>"/>
        <meta property="og:image" content="<?php print base_url(); ?>categoria/imagem_crop/<?php print $interna_produtos->imagem_produto ?>"/>        
        <meta property="og:price:amount" content="<?php print $interna_produtos->valor_produto ?>" />
        <meta property="og:price:currency" content="R$" />
        <meta property="fb:app_id" content="123456789" />
        <?php
    }
}
?>

I await suggestions.

1 answer

2


As far as the targets are concerned, I believe they are more than sufficient, they are the main ones. What you can do to help is work with structured data.

If you don’t work with this, consider working because it is very important.

For example Schema Ratting, which displays those little stars and number of votes in Google results.

Ex:

<div itemscope itemtype="http://schema.org/AggregateRating" itemprop="aggregateRating">
    <meta itemprop="ratingValue" content="4.5">
    <meta itemprop="ratingCount" content="414">
</div>

See more about Schemas in: http://schema.org/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.