Yuav Ua Li Cas Tshaj Tawm Koj Cov Khoom Muag Blog Pub Hauv Koj Tus Kheej Email Template

Yuav Ua Li Cas Tshaj Tawm Koj Cov Khoom Muag Blog Pub Hauv Koj Tus Kheej Email Template

Peb txuas ntxiv txhim kho thiab optimize peb Kav Khw Ntxiv Ntxiv zam tus neeg siv email kev lag luam siv zog siv Klaviyo. Klaviyo muaj kev sib koom ua ke nrog Shopify uas ua rau muaj kev sib txuas lus hauv e-lag luam uas tau tsim ua ntej thiab npaj mus.

Kuj ceeb tias, ntxig koj Shopify Blog Posts rau hauv email tsis yog ib qho ntawm lawv, txawm li cas los xij! Ua tej yam nyuaj dua… cov ntaub ntawv tsim cov email no tsis meej thiab tseem tsis tau sau lawv cov editor tshiab. Yog li ntawd, Highbridge yuav tsum tau ua qee qhov kev khawb thiab nrhiav seb yuav ua li cas peb tus kheej… thiab nws tsis yooj yim.

Nov yog qhov kev txhim kho tsim nyog los ua kom qhov no tshwm sim:

  1. Blog Pub - Lub atom pub muab los ntawm Shopify tsis muab kev hloov kho lossis tsis suav nrog cov duab, yog li peb yuav tsum tsim kom muaj kev cai XML pub.
  2. Klaviyo Data Feed - Cov khoom noj XML uas peb tsim yuav tsum tau koom ua ke raws li cov ntaub ntawv pub hauv Klaviyo.
  3. Qhib Email Template - Tom qab ntawd peb yuav tsum txheeb xyuas qhov pub rau hauv email template qhov twg cov duab thiab cov ntsiab lus raug tsim kom raug.

Tsim kom muaj Kev Cai Blog Pub Hauv Shopify

Kuv muaj peev xwm nrhiav tau ib tsab xov xwm nrog piv txwv code los tsim tawm ib kev cai pub hauv Shopify rau Mailchimp thiab tau ua qee qhov kev hloov kho kom huv si. Ntawm no yog cov kauj ruam los tsim ib qho kev cai RSS pub hauv Shopify rau koj qhov blog.

  1. Next rau koj rau hauv kiab khw thiab xaiv lub ntsiab koj xav muab tso rau hauv.
  2. Hauv cov ntawv qhia ua haujlwm, xaiv Hloov kho Code.
  3. Hauv cov ntawv qhia zaub mov, mus rau Templates thiab nyem Ntxiv tus qauv tshiab.
  4. Nyob rau hauv Ntxiv ib lub qhov rais tshiab template, xaiv Tsim tus qauv tshiab rau blog.

Ntxiv kua blog pub rau Shopify rau Klaviyo

  1. Xaiv Template hom kua.
  2. Rau cov ntaub ntawv npe, peb nkag mus klav.
  3. Hauv cov code editor, tso cov cai hauv qab no:

{%- layout none -%}
{%- capture feedSettings -%}
  {% assign imageSize = 'grande' %}
  {% assign articleLimit = 5 %}
  {% assign showTags = false %}
  {% assign truncateContent = true %}
  {% assign truncateAmount = 30 %}
  {% assign forceHtml = false %}
  {% assign removeCdataTags = true %}
{%- endcapture -%}
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:media="http://search.yahoo.com/mrss/"
  >
  <channel>
    <title>{{ blog.title }}</title>
    <link>{{ canonical_url }}</link>
    <description>{{ page_description | strip_newlines }}</description>
    <lastBuildDate>{{ blog.articles.first.created_at | date: "%FT%TZ" }}</lastBuildDate>
    {%- for article in blog.articles limit:articleLimit %}
    <item>
      <title>{{ article.title }}</title>
      <link>{{ shop.url }}{{ article.url }}</link>
      <pubDate>{{ article.created_at | date: "%FT%TZ" }}</pubDate>
      <author>{{ article.author | default:shop.name }}</author>
      {%- if showTags and article.tags != blank -%}<category>{{ article.tags | join:',' }}</category>{%- endif -%}
      {%- if article.excerpt != blank %}
      <description>{{ article.excerpt | strip_html | truncatewords: truncateAmount | strip }}</description>
      {%- else %}
      <description>{{ article.content | strip_html | truncatewords: truncateAmount | strip }}</description>
      {%- endif -%}
      {%- if article.image %}
      <media:content type="image/*" url="https:{{ article.image | img_url: imageSize }}" />
      {%- endif -%}
    </item>
    {%- endfor -%}
  </channel>
</rss>

  1. Hloov kho cov kev cai hloov pauv raws li qhov tsim nyog. Ib daim ntawv ntawm qhov no yog tias peb tau teeb tsa cov duab loj rau qhov dav dav ntawm peb cov emails, 600px wide. Nov yog lub rooj ntawm Shopify cov duab loj:

Shopify Duab Lub Npe Qhov ntev
ncov 16 px x 16 po
icon 32 px x 32 po
ntiv tes xoo 50 px x 50 po
me me 100 px x 100 po
compact 160 px x 160 po
nruab nrab 240 px x 240 po
loj 480 px x 480 po
loj 600 px x 600 po
1024 X 1024 1024 px x 1024 po
2048 X 2048 2048 px x 2048 po
tswv Cov duab loj tshaj plaws muaj

  1. Koj qhov pub yog tam sim no muaj nyob ntawm koj qhov chaw nyob blog nrog cov lus nug ntxiv ntxiv los saib nws. Hauv peb cov neeg siv khoom, qhov pub URL yog:

https://closet52.com/blogs/fashion?view=klaviyo

  1. Koj cov zaub mov tam sim no npaj siv! Yog tias koj xav tau, koj tuaj yeem mus rau nws hauv qhov browser qhov rai kom ntseeg tau tias tsis muaj qhov yuam kev. Peb yuav xyuas kom meej tias nws parses zoo nyob rau hauv peb kauj ruam tom ntej:

Ntxiv Koj Blog Pub Rau Hauv Klaviyo

Txhawm rau siv koj cov blog tshiab pub rau hauv Klaviyo, koj yuav tsum tau ntxiv nws li Data Feed.

  1. Mus rau Cov ntaub ntawv txau
  2. xaiv Ntxiv Web Feed
  3. Sau ib Pub Lub Npe (tsis muaj chaw tso cai)
  4. Sau cov Pub URL uas koj nyuam qhuav tsim.
  5. Nkag mus rau Txoj Kev Thov raws li TAU
  6. Nkag mus rau Cov Ntsiab Lus Hom li XML

Klaviyo Ntxiv Shopify XML Blog Pub

  1. Nyem Hloov cov ntaub ntawv pub.
  2. Nyem saib ua ntej los xyuas kom meej tias qhov pub yog populating kom raug.

Saib ua ntej Shopify Blog Pub hauv Klaviyo

Ntxiv Koj Blog Pub Rau Koj Klaviyo Email Template

Tam sim no peb xav tsim peb cov blog rau hauv peb tus email template hauv Klaviyo. Hauv kuv lub tswv yim, thiab yog vim li cas vim li cas peb thiaj li xav tau kev cai pub noj, Kuv nyiam qhov sib cais cov ntsiab lus uas cov duab nyob rau sab laug, lub npe thiab cov lus hais hauv qab. Klaviyo kuj muaj qhov kev xaiv los tsoo qhov no rau hauv ib kem ntawm ib lub xov tooj ntawm tes.

  1. Luag a Split Block rau hauv koj tus email template.
  2. Teem koj sab laug rau ib qho duab thiab koj txoj kab ke mus rau a Phau ntawv thaiv.

Klaviyo Split Block rau Shopify Blog Post Cov Khoom

  1. Rau cov duab, xaiv Dynamic Duab thiab teem tus nqi rau:

{{ item|lookup:'media:content'|lookup:'@url' }}

  1. Teem lub Alt Text rau:

{{item.title}}

  1. Teem lub Chaw Nyob Txuas yog li yog tias tus email subscriber nyem rau ntawm daim duab, nws yuav coj lawv mus rau koj tsab xov xwm.

{{item.link}}

  1. xaiv lub sab xis los teeb cov ntsiab lus ntawm kab.

Klaviyo Blog Post Title and Description

  1. Ntxiv koj cov ntsiab lus, nco ntsoov ntxiv qhov txuas rau koj lub npe thiab ntxig koj cov ntawv tshaj tawm.

<div>
<h3 style="line-height: 60%;"><a style="font-size: 14px;" href="{{ item.link }}">{{item.title}}</a></h3>
<p><span style="font-size: 12px;">{{item.description}}</span></p>
</div>

  1. xaiv lub Split Settings tab.
  2. Teem rau a 40% / 60% layout los muab chav ntau rau cov ntawv nyeem.
  3. pab kom Pawg ntawm Mobile thiab teeb tsa Txoj cai rau sab laug.

Klaviyo Split Block rau Shopify Blog Cov Ntawv Tshaj Tawm tau muab tso rau ntawm Txawb

  1. xaiv lub Tso Saib Qhov Kev Xaiv tab.

Klaviyo Split Block rau Shopify Blog Cov Ntawv Tshaj Tawm Tshaj Tawm Cov Kev Xaiv

  1. Xaiv Cov Ntsiab Lus Rov Ua Dua thiab muab cov khoom noj uas koj tsim hauv Klaviyo ua qhov chaw hauv Rov Ua Dua Rau teb:

feeds.Closet52_Blog.rss.channel.item

  1. Teem lub Yam khoom npe as yam khoom.
  2. Nyem Saib ua ntej thiab kuaj thiab tam sim no koj tuaj yeem pom koj cov ntawv blog. Nco ntsoov sim nws hauv ob qho tib si desktop thiab mobile hom.

Klaviyo Split Block Saib ua ntej thiab sim.

Thiab, ntawm chav kawm, yog tias koj xav tau kev pab hauv Khw Tshaj Tawm optimization thiab Klaviyo kev siv, tsis txhob yig mus cuag Highbridge.

Kev Tshaj Tawm: Kuv yog tus khub koom nrog Highbridge thiab kuv siv kuv cov affiliate txuas rau Khw Tshaj Tawm thiab Klaviyo hauv tsab xov xwm no.