abril 15, 2020
Etiqueta de Pinterest
por Dave Jeans
NOTA:
Iré agregando más información a este blog a medida que la encuentre.
CÓDIGO PINTEREST EN SHOPIFY
antes de
En Temas > Editar Código
<
type
de script
=
"text/javascript"
>
!function(e){if(!window.pintrk){window.pintrk=function()
{window.pintrk.queue.push(Array.prototype.slice.call(arguments))};var
n=window.pintrk;n.queue=[],n.version="3.0";var
t=document.createElement("script");t.async=!0,t.src=e;var
r=document.getElementsByTagName("script")[0];r.parentNode.insertBefor
e(t,r)}}
pintrk('load','YOUR_TAG_ID', { em: ' {{ customer.email }} ', });
pintrk('page');
script
>
<
noscript
>
<
img
height="1" width="1" style="display:none;" alt=""
noscript
>
CHECKOUT CODE
Add this to the Settings > Checkout
{% if first_time_accessed %}
<
type
de script
=
"text/javascript"
>
!function(e){if(!window.pintrk){window.pintrk=function()
{window.pintrk.queue.push(Array.prototype.slice.call(arguments))};var
n=window.pintrk;n.queue=[],n.version="3.0";var
t=document.createElement("script");t.async=!0,t.src=e;var
r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r)}}
("https://s.pinimg.com/ct/core.js");
pintrk('load','YOUR_TAG_ID', { em: ' {{ customer.email }} ', });
pintrk('page');
script
>
<
noscript
>
<
img
height="1" width="1" style="display:none;" alt=""
src="https://ct.pinterest.com/v3/?
tid
=
YOUR_TAG_ID
&
noscript
=
1
" />
noscript
>
<
script
>
pintrk('track', 'checkout',{
value: {{ total_price | money_without_currency }} ,
currency: ' {{ currency }} ',
order_quantity: 1,
order_id: {{ checkout.id }}
});
script
>
<
noscript
>
<
img
height="1" width="1" style="display:none;" alt=""
src="https://ct.pinterest.com/v3/?
tid
=
YOUR_TAG_ID
&
event
=
checkout
&
noscript
=
1
"/>
noscript
>
{% endif %}
ADD TO CART CODE
PRODUCT TEMPLATE OR FORM
onclick="pintrk('track', 'addtocart', {value: {{product.selected_variant.price | money_without_currency}} ,order_quantity: 1});"
Dejar un comentario
Ver artículo completo
The Truth About Marketing in 2025: An eCommerce Reality Check
por Veronica Jeans, Bestselling Author febrero 10, 2025
What's Really Going On Out There
Ver artículo completo
3. ¿Cómo recibir pagos de su proveedor de pago en Shopify?
por Veronica Jeans Shopify Queen & Bestselling Author febrero 05, 2025
Ver artículo completo
Stop Losing Sales at Hello - A No-BS Guide to Fixing Your Ecommerce Store's First Impression
por Veronica Jeans, Bestselling Author febrero 01, 2025
Consider how people actually use your store's homepage.
Ver artículo completo