İçeriğe geç
ceaksan
ABONELERE ÖZEL shopify

Shopify Markets Cookie Bridge: Consent-Aware Storefront-Pixel Veri Köprüsü

Shopify storefront event'lerinde eksik olan market verisini theme app extension ile cookie'ye yazıp, custom pixel sandbox'ından browser.cookie API'si ile okuyarak event'leri zenginleştirme. Shopify customerPrivacy API entegrasyonu, SameSite attribute'ları ve cross-subdomain cookie yapısı dahil.

2 Nis 2026
TL;DR

Shopify storefront event'leri localization verisi taşımaz, ancak theme app extension (app embed) Liquid localization objesini okuyup document.cookie ile yazabilir. Custom pixel sandbox'ı browser.cookie.get() ile bu cookie'ye async erişir. Consent gate olarak Shopify customerPrivacy API'sinin analyticsProcessingAllowed() metodu kullanılır. Cookie'de SameSite=Lax; Secure; path=/ attribute'ları ve cross-subdomain için domain parametresi gerekir.

Abonelere Özel

Yazının tamamı ve abonelere özel diğer 33 yazı abonelikte.

Geri bildirim

Seçtiğin paragraflar hakkında görüşünü ilet. Yanıt verebilmek için e-posta gerekli.

Tür