Postez automatiquement depuis votre blog Shopify sur Pinterest

Pour automatiser la création de Pins sur Pinterest via notre blog Shopify, nous allons ici utiliser Zapier, un outil pour connecter deux plateformes qui ne communiquent pas de manière native.

En effet, les blogs Shopify utilise un flux de posts Atom, alors que Pinterest utilise uniquement les flux RSS - nous ne pouvons pas les connecter automatiquement. De plus, Shopify n'inclut pas l'image d'un article de blog dans son flux, donc nous allons également capturer cette image pour pouvoir publier un pin sur Pinterest !

Allons-y !

Sur Zapier, commencez par sélectionner l'application "RSS by Zapier", puis "New items in multiple feeds" :

Pour chaque article, indiquez les URL de vos blogs Shopify, suivies de ".atom". Si l'adresse de votre blog est, alors vous devez inclure

Cliquez sur "Find items" - et normalement c'est bon pour l'étape suivante !

Ensuite, nous chercherons les images présentes sur le billet de blog, en utilisant la méta description (og:image) que Shopify ajoute sur chaque billet de blog. Pour cela, ajoutez une action "Code by Zapier", et "Run Javascript".

Sur "Customize Run Javascript", remplissez un champ de données pour "link" et sa valeur en tant qu'url de l'article de blog que vous trouverez à l'étape 1 :

Pour la partie code, incluez ce qui suit, qui obtiendra l'url og:image inclue dans le billet de blog par Shopify - c'est l'image que nous partagerons sur Pinterest :

  .then(function(res) {
    return res.text();
  .then(function(body) {
    var match = /<meta property="og:image:secure_url" content="(.*)">/.exec(body);
    var image = null;

    image = match? match[1]: null;

      console.log("No image available");
      image = '';
      if(image[0] === "/"){
        var arr ="/");
        image = arr.join("/") + image;
    var output = {image: image, rawHTML: body};
    callback(null, output);

C'est presque fini ! Cliquez sur Send data pour vous assurer que tout fonctionne : vous devriez obtenir une variable image avec le lien vers l'image présentée dans l'article du blog :

Dernière étape : créer une action de type Pinterest, avec "Create Pin" :

Personnalisez votre Pin comme suit, en utilisant l'image que nous avons obtenue, la description de l'article de blog et son URL :

Génial, c'est tout bon !

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.


Automatisez vos opérations marketing

Faire plus en faisant moins.

Rendez vos opérations marketing plus efficaces


Développez votre présence sur Pinterest

Pinterest, c'est le moteur de recherche visuel par excellence.

Devenez visible sur Pinterest

Growth Insights • More articles

The Perfect Email Journey to get back +25% of your lost checkouts

I'm sharing here a proven tactic that drive results to get back at least 25% of your lost checkouts, while the e-commerce average is around 8%.

Read →

Your CRM action plan to take your ecommerce store to the next level [checklist included]

Launching an ecommerce store? You have everything ready, your products, your website, your design - even your analytics? Yupee !But how about your CRM ? In this article, we'll review a simple go-to plan you can start with today to extend your CRM capabilities. Let's dive in!

Read →

Facebook Ads Budget & Profitability Calculator

This calculator will let you know which budget you'll need on Facebook - and if your ads are profitable.‍

Read →

Emails Metrics A/B Test Significance Test

This email A/B test significance test will let you know which version of your email A/B test is the most performant - and on which metrics. Plus, we'll display which recommandations you can take.

Read →

Programmatic SEO and eCommerce: What are some best practices? 

Search Engine Optimization (SEO) is key to getting your website found and for you to take advantage of the phenomenal use of search engines as the starting point for most users’ journey on the web -- to find answers, to look for information, to compare product A with product B, to look for solutions, to find local stores or merchants, and also to buy. 

Read →

Proven eCommerce Marketing Strategies To Try in 2023

As far as proven eCommerce marketing strategies go, while we use the word “try” in the title, what we really mean is that you “should”. By the end of 2022, global eCommerce will be worth a whopping $5.55 Trillion. By 2023, eCommerce is going to be worth $6.17 Trillion. If anything, eCommerce is only going to get bigger and is a viable opportunity for any eCommerce brand.

Read →

Why Do You Need Landing Pages For eCommerce Sites? 

Landing pages -- unlike regular pages -- help convert better. Use them generously for all campaigns. eCommerce conversions -- along with sign ups with tracking pixels happen on landing pages. Sales happen on eCommerce product pages. All of this is tracked. 

Read →

Big data for Ecommerce Small Businesses

One way to challenge big brands is to leverage data. Which data? Yours

Read →

What is a Good Conversion Rate On Shopify? [& Tips On How to Improve Conversions]

To help boost your Shopify store conversion rates, you’ll need a holistic approach.

Read →

Benchmark - Email strategies you can learn from these DTC Brands

What do customers want to see? Truth is, it really depends on what you offer and how you want to brand your business. Overall, here are the things that we highly suggest you consider when writing your newsletter.

Read →

How to increase click rate on emails?

How to increase click rate on emails? This is a very tricky question because it always depends on a lot of stuff and by a lot we mean — A LOT. So, we suggest to actually follow this checklist that we have formulated to help you get a bigger picture of what should be done. 

Read →

Funnel Review / Colourpop

Colourpop is a great makeup and skincare brand. It is well-known for its cosmetics and well-appreciated by beauty addicts around the world. We were curious how they gained even more popularity, so we did what we love to do - review their funnel. Let’s see all their good practices and what they could improve on their website!

Read →

5 eCommerce Marketing Strategies You Could Implement (Right Now)

The global eCommerce industry is pegged at a whopping $4.89 trillion in 2021, according to Shopify. If you get it right, it’s a profitable and borderless industry that you could take advantage of. 

Read →

Growth Blog • D'autres articles

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
▲ hutte • que 2021 soit spécial • réalisé avec attention