Archive for the ‘Media’ Category

Tracking Pins With The Pinterest Button

Monday, May 14th, 2012



Pinterest Logo

Tracking Pins With the Pinterest Button

By: Bob Tantlinger

Recently I was tasked with logging social media interaction on a site
utilizing the “buttons” (what do you call those anyway) of Twitter,
Facebook, Google+, LinkedIn, and Pinterest.

We wanted to be able to record not only when a social media button was
clicked, but when an actual share, like, or whatever took place. In
other words, we needed to know that the user actually did the share.
Nothing very difficult. Most of the big players in social media have
handy APIs that let you subscribe to events they fire off when a share
takes place, which makes this fairly straight forward. In a perfect
world it WOULD be easy, but there’s -always- a monkey wrench lurking
around the corner ready to ruin your day. In this case the monkey wrench
was a royal “Pin in the Ass.” I am referring to, of course, Pinterest.

Pinterest is the newest social media fad, so their button is popping up
all over the place at an alarming rate. Everyone is rushing to get their
images pinned to the worlds biggest pin board. But there’s a problem.
While Pinterest’s “Pin it” button works fine, they offer no offical API,
so unlike the other social media services, there’s not much you can do
with the Pin It button. You can stick it on your site, and that’s it.
You cannot track events, such as when a “pin” occurs, or even when
someone simply clicks on the darn thing.

The good news is that Pinterest is working on an API, which should
hopefully be ready soon. Parts of it are apparently in “Read Only” mode http://tijn.bo.lt/pinterest-api

http://articles.businessinsider.com/2012-03-26/tech/31238519_1_mobile-apps-twitterrific-hootsuite

Sadly, until then, the best you can hope for is a hack like the one I
will document below.

Bending Pinterest to your will (Almost)

When you include the Pinterest button on your page like they want you
to, you include their javascript file:

http://assets.pinterest.com/js/pinit.js

and a simple link where you want the button to show up:

        
<a href="http://pinterest.com/pin/create/button/" class="pin-it-button"
count-layout="horizontal"><img border="0"
src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>
        
        

All well and good… BUT when the pinterest javascript executes, it
takes the simple link, removes it from your DOM, and replaces it with an
IFRAME. (an embedded html document right in your page where the button
goes) So the pin it button is not actually a button. Rather, it’s a
small html file loaded from Pinterest’s CDN embedded in your page. The
transformed code looks like this:

        
<iframe scrolling="no" frameborder="0"
src="http://pinit-cdn.pinterest.com/pinit.html?url=http%3A%2F%2Fmysite.com&amp;media=http%3A%2F%2Fmysite.com%2Fpic.jpg&amp;description=Neat+Pic&amp;layout=vertical"
style="border: medium none; width: 43px; height: 58px;"></iframe>
        
        

Because they put it in an IFRAME, it’s like putting a brick wall around
the button. The IFRAME is pointing to
http://pinit-cdn.pinterest.com/pinit.html, which is obviously different
than your domain… Thus, you run up against the browser’s same origin
policy
(A security measure browsers implement which ensures scripts from
two different domains can not interact with each other.). So, I was
stuck. I could not get through the IFRAME brick wall, so I decided to go
around it completely.

Looking at the code contained in the IFRAME, you’ll see it’s just a tiny
html document, which only contains the button. If you examine this code
with Firebug, you can get the css styling, images, etc that give it its
look:

Firebug Pinterest Button Analysis

Click to Enlarge!

As you can see from the code, the pinterest button is basically just a
couple images and some css styling. Thus with a little bit of jquery
magic, I created my own function to embed the button on my own domain.

The Pinterest Button Hack

First, I stripped out all references to the pinterest button. It’s
important to NOT include the pinterest javascript file.

Next, I created a small javascript file with two functions:
loadPinterest and updatePinterestCount. I chose to create this as an
individual file, so that I could simply include it on any page I wanted
a “pin it” button on.

            
var updatePinterestCount = function() {
    $  .ajax({
        url: 'http://api.pinterest.com/v1/urls/count.json?callback=?',
        data: {
            url: document.URL
        },
        success: function(data) {
            $  ('.PinCountBubble').html(data.count);
        },
        dataType: 'jsonp'
    });
};        

var loadPinterest = function(buttonSelector, imageUrl, description, onPinItClickCallback) {
    var pinUrl = "http://pinterest.com/pin/create/button/?url=";
    pinUrl += encodeURIComponent(document.URL);
    pinUrl += "&media=" + encodeURIComponent(imageUrl);
    pinUrl += "&description=" + encodeURIComponent(description);
    var css = "position: absolute; background: url('http://assets.pinterest.com/images/pinit6.png');";
    css += "left:0px;top:40px;font: 11px Arial, sans-serif; text-indent: -9999em; font-size: .01em;";
    css += "color: #CD1F1F; height: 20px; width: 43px; background-position: 0 -7px;";
    var html = "<div style='position:relative;margin:0;padding:0;width:43px;height:45px;display:block;'>";
    html += '<a class="pinner" href="' + pinUrl + '" style="' + css + '" count-layout="vertical">Pin It</a>';
    html += '<div style="display:block;">';
    css = "background-position: 0 0; height: 7px;top: 31px; width: 41px;";
    css += "background: url('http://assets.pinterest.com/images/pinit6.png') repeat scroll 0 0 transparent;";
    css += 'color: #FFFFFF;font-size: 0.01em;position: absolute;text-indent: -9999em;z-index: 1;';
    html += '<div class="PinCountPointer" style="' + css +  '"></div>';
    css = "font: 12px/12px Arial,Helvetica,sans-serif; height: 21px;left: 1px;padding: 9px 0 0;text-align: center;width: 39px;";
    css += "background-color: #FCF9F9;border: 1px solid #C9C5C5;border-radius: 1px 1px 1px 1px;color: #777777;position: absolute;";
    html += '<div class="PinCountBubble" style="' + css + '">0</div>';
    html += "</div>";
    html += "</div>";
    $  (buttonSelector).html(html);
    $  ('.pinner').click(function() {
        window.open($  (this).attr("href"), 'signin', 'height=300,width=665');
        if (typeof(onPinItClickCallback) == "function") {
            onPinItClickCallback();
        }
        return false;
    });
    $  ('.pinner').mouseenter(function() {
        updatePinterestCount(opts);
    });
    $  ('.pinner').mouseleave(function() {
        updatePinterestCount(opts);
    });
    updatePinterestCount();
};

            
        

The loadPinterest function uses jQuery to insert the button wherever you
specify via a css selector. E.g <div id=”pinit”></div>

You can pass this function:

  • CSS selector of the page elements you want to become pinterest buttons
  • The url of your image
  • A description of the image
  • a callback function, so that when someone clicks on the pin it button,
    you can take some action.

When the pin it button is clicked the following things happen:

  • A popup window opens http://pinterest.com/pin/create/button/ just as
    it does with the offical pinit button.
  • The window displays the options to “pin it” based on the parameters
    you passed the loadPinterest function.
  • The callback is called. What action you decide to take is up to you.
    The best you can do is detected when the pint button is clicked.
    Unfortunately, there’s no way to know that the user actually pinned
    anything or closed the window.
  • The updatePinterestCount function accesses pinterest to get the
    current pin count with an ajax jsonp request. So at the very least we
    can keep track of the pin count on the button.

The button’s count is updated when:

  • The page first loads
  • The user mouses over the pinit button

So, then, to include the button you simply need to call the pinterest
like so:

            
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
        <script type="text/javascript" src="pin-me.js"></script>
        <script type="text/javascript">
            $  (document).ready(function(){
                loadPinterest('#pinit', $  ('#pinImg').attr("src"), $  ('#desc').html(), doSomethingOnPinClick);
            });

            function doSomethingOnPinClick() {
                //do whatever you want here
                alert("You clicked the Pin It button!");
            }
        </script>
    </head>
    <body>
        <h3 id="desc">My Cool Picture</h3>
        <img id="pinImg" src="http://bobtantlinger.com/social/pic.jpg" />
        <div id="pinit"></div>
    </body>
</html>
            
        

And here is the working demo of the above code. The pinterest button is not being loaded from pinterest at all, and you can detect when the user clicks on it.

Limitations

This is ultimately a kludge until Pinterest releases its API. As
mentioned above, there is still no way to detect if the user actually
completed a pin. Only that he or she clicked on the pin it button.
Until there is an official API from Pinterest, that is probably the best
one can hope for.

In addition, the html + css for the button only does the vertical (count
bubble on top) version of button because that’s what I needed. It
should be straight forward to change if you need other button styles.


————–
Source
Search Engine Optimization, SEO, & Other Online Marketing Strategies

VN:F [1.9.8_1114]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.8_1114]
Rating: 0 (from 0 votes)

Seo para tu sitio web

Monday, December 5th, 2011

Hoy en dia la mayoría de nosotros sabemos que es SEO y porque es necesario optimizar el sitio web de tu negocio: incrementar el numero de los visitantes y los potenciales clientes.
El posicionamiento web es importante no solamente para las compañias que viven de las ganancias hechas a través de las tiendas virtuales, pero también para cualquier empresa que requiere tener visibilidad al nivel local, nacional y global.
Los consultores de marketing online pueden ayudarte tanto con SEO, como también con las técnicas de SEM y tu reputación online, especialmente en las redes sociales como Twitter, Facebook, etc, que son muy importantes para la visibilidad online.
Cual es la mejor solución: hacer tu mismo SEO, contratar an alguien desconocido, pero que sabe bien las herramientas o una empresa especializada en SEO. La calidad y la garantía de unos buenos servicios solamente lo puede hacer una empresa que ya tiene experiencia en el mercado y los expertos hacen su trabajo con herramientas de pago.
Los procedimientos de optimizar un sitio web son varios y hay que utilizarlos todos: destacar en los redes sociales para obtener mas visitantes, crear títulos y descripciones adecuadas para cada pagina de tu web, tener una mapa del sitio web en tu pagina, verificar el tiempo de carga de la web, alojar tu sitio web en un servidor fiable.
Los servicios de SEO no son muy bajos, por eso algunas empresas prefieren que le hagan la optimización alguien quien no esta especializado en SEO, porque cobrara menos y además muchos creen que si se garantiza una posición buena en la primera pagina de los buscadores en pocas semanas, debe de ser cierto.
No todos saben que hay que trabajar duro cada semana para el sitio web.
Las herramientas de pago son fiables, puedes ver los resultados. El cliente que tiene un sitio web muchas veces no entiende porque tarda tanto en ver algún resultado del posicionamiento. Los mas rapidos métodos, el spam que algunos utilizan para hacer el black SEO esta penalizado por Google.
A lo largo del tiempo estas técnicas de posicionamiento web han cambiando un poco y otras tecnologías han aparecido como las de las búsquedas universales, personalizadas, sociales, locales o en tiempo real.

VN:F [1.9.8_1114]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.8_1114]
Rating: 0 (from 0 votes)

Internet Technology Summit 2011

Thursday, September 1st, 2011

I’m at an interesting 1 day conference today, ITS2011.  The focus is on the future of internet technology. This is not the type of conference we typically attend, we are usually at the marketing focused events. Of course, you can’t have an internet technology event without talking about marketing, so of course I’m picking up some good social media and marketing tips.

What does our future look like?

The CEO of Cisco offered up a motivating entertaining keynote, with a focus on embracing change.  We live for change here, you cannot survive in internet marketing without embracing and learning new methods every month, so you’d think his chat would be a snore.  Still his presentation got me thinking about the assumptions we make, and how to reach beyond what we know is happening today and anticipate what is going to happen tomorrow.  He shared a fantastic interview from 1964 by the author of 2001, Arthur C. Clark, with his predictions for the future.  He said maybe the world would not exist (meaning we would live virtually.  That we would be able to work from anywhere, even Tahiti or Bali. Imagine that! :)   So what is our future going to look like in 20 years? Visualize it and fit your business into it .  Is video going to be huge? Yes.  Is mobile taking over? Yes.  Be ready for that.

Social Media takeaway from ITS 2011

The social media panel gave a basic overview, but some productive takeaways are about using Linked In more, especially for a B2B business. People tend to discuss social media as Twitter and Facebook, but Linked In is a tremendous resource for reaching businesses and often overlooked. It’s not as important for all business models, but spend a few minutes evaluating if this is a missed opportunity for you.

  • Have all employees update their profiles.
  • Set up your company page.
  • Regularly update status, even just to share a new blog post.
  • Join groups and PARTICIPATE in them.
  • Connect Linked In with your Slideshare account if you have one.
  • Participate in Linked In Answers.

————–
Source
Search Engine Optimization, SEO, & Other Online Marketing Strategies

VN:F [1.9.8_1114]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.8_1114]
Rating: 0 (from 0 votes)

Google’s Getting More Social with +1 (plus 1)

Tuesday, June 7th, 2011

google +1

 

 

 

 

 

 

 

 

 

 

 

 

 

Google’s +1 (pronounced: plus one) button has the potential to add another billion to the coffers of Google. Google is notorious for failures but when they hit the ball it’s like Babe Ruth déjà vu. The +1 button is very similar in concept to Facebook’s “Like” button. However, there are many subtle differences that make the +1 something to pay attention to.

Facebook’s Like button encourages user’s to interact and share something with a group of selected “friends.” The power of the Like button is that people are more likely to act upon recommendations from people that they know vs. strangers. Like has also become popular as a quick and easy public rating system for websites, blogs and everything else on the web. The more likes and tweets your page has, the greater likelihood you have of going viral. While viral is nice, these spurts of publicity have a tendency to burn out pretty quickly just like the Flu. The Achilles heal of the Like button is that the Like carries with it only a limited duration of exposure either on a viewer’s wall or on a user’s News Feeds. Very quickly, the valuable personalized Likes are buried and whatever positive affects the Likes generated, dies.

 

Google’s +1 has the potential to overtake the Like button because of two positive advantages it has over Facebook’s little thumb. The first advantage is duration and the second is market penetration.

 

Google’s +1 doesn’t rely on a display platform like Facebook to be socially relevant to a user. Rather, +1s are displayed and integrated into Google search. Anytime a Google user is logged in and using Google search he/she is able to see the +1s from their friends along with their search results. Moreover, this feature extends to paid ads as well. Due to the contextual difference, +1s have the potential to become very powerful. For example, let’s say a friend of yours +1s a hundred restaurants all over the world and you really trust his taste. The next time you are in Chicago and want pizza your “Chicago Pizza” search will include his +1 pizza recommendation at the top of your search. Think about it, where are you going to go for pizza in Chicago?

 

Some reviewers have seen the “logged into Google requirement” as a limitation of the +1 button. However, this is irrelevant on smart phones and other mobile platforms. Moreover, having the ability to turn the +1 off during searches by logging out of Google may be important in some situations.

 

The second serious advantage Google’s +1 has over the Like button is the sheer size and diversity of Google’s businesses. Google is the most popular search engine, controls most of the advertising dollars on the Internet and owns high traffic sites such as Youtube, Blogspot and Google Maps. In addition, they are firmly entrenched in the mobile device market, have recently developed their own browser and a hundred other things. The +1 button will work seamlessly across all things Google and this dramatically enhances its usefulness to both users and advertising professionals.

 

Social media buzz from sites such as Facebook and Twitter is already incorporated into organic SEO rankings. The addition of Google’s own +1 will give Google more information and will likely be disproportionately weighted in their algorithms in the future. This fact alone will increase +1’s market penetration.

 

Moreover, +1s will increase click through rates. Physiologically people always want what they think other people want. Internet ranking systems are immensely popular and have fueled the growth of many websites. +1s inclusion in Adwords and because will influence click though rates and it’s likely that +1 will dramatically impact Adwords.

 

Another fascinating angle to +1 and Google’s development of social layers is that +1 should enhance search in general and diminish the pervasiveness of content farms and search junk. +1 at the moment is source agnostic but the entire reason social media tags work, (including Like and +1) comes back to the fact that a user will place a higher valuation on information based upon his/her perception of the source’s legitimacy, expertise and knowledge. Some recommendations are just more valuable than others and these are subjective distinctions. Source ranking is something search has never managed effectively.

 

As the Internet develops and grows the ways in which it can be used is constantly expanding and diversifying. It is difficult for any Internet marketer or web master to keep on top of all the new developments and it is tempting to just wait until a tool like the +1 is established before investing time and money into it. However, this is a Google product and a remarkably good idea. Moreover, the +1 tantalizingly lends itself to the possible introduction of a 100-point rating scale in the future and this would finally create a useful rating system for the Internet. Robert Parker made his name and radically changed the Wine Industry with his introduction of a 100-point scale for wine and Google could easily do the same in the future with +1.

————–
Source
Search Engine Optimization, SEO, & Other Online Marketing Strategies

VN:F [1.9.8_1114]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.8_1114]
Rating: 0 (from 0 votes)

GroupM Study: Consumers Start with Search, Consult Social Media

Wednesday, May 4th, 2011

Recent consumer study conducted by comScore and GroupM revealed that although 64% of the users are likely to follow a brand on Facebook and/or Twitter, search engine is still the most popular initial step for the majority of purchases made online. The study shows that nearly 60 percent of future buys originate within the search engine websites, with social media coming in the third place with 18% behind company websites (24%). And of those 18%, nearly half will eventually turn to search at some stage of their research. Similarly, only 40 percent of those that use search as their initial step will use social media throughout the purchase.

Moreover, almost no users (less than 1%) use Social Media and do not use search, while the search beats the “search+social media” combination 50 to 49 percent. Only 45 percent, though, use search throughout their research with 26 percent stating that they only use search in the beginning of the process.

The study also shows that customer reviews are something customers are looking for – making the recently reported idea of “SearchReviews.com” pretty viable. 30% of the responders said reviews are the most important thing to them. Social networks were selected by 17% of the users, and video sharing finished third with 14%.

Notably, the study only researched COMPLETED buys. So, maybe social media is simply good at preventing future purchases? After all, reading a page of negative opinions about a product can drive you away from it, and sometimes the whole idea of purchasing a certain accessory can become obsolete…

————–
Source
Search Engine Optimization, SEO, & Other Online Marketing Strategies

VN:F [1.9.8_1114]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.8_1114]
Rating: 0 (from 0 votes)