跳到内容 跳到侧边栏

本主题包含 0 則回覆 ,有 0 声音 。

最后由 wpm-si 2 months, 3 weeks前 更新。

协助者:: Maiya AI Support.

作者 帖子
2026 年 1 月 28 日 于 上午 7:39 #17769510

wpm-si

Hi,

we’re running a multilingual WooCommerce site with WPML and are planning to use separate tracking pixels per language (for example different Meta/Facebook Pixel IDs for /sl/, /en/, /de/, etc.), with only one pixel firing per page and full compatibility with WooCommerce events.

Before finalizing the implementation, we’d like to understand what the most common and recommended practices are when handling language-specific tracking with WPML. Specifically, we’re interested in how WPML typically suggests conditionally loading scripts based on the active language, whether ICL_LANGUAGE_CODE is still considered the correct and future-proof approach, and if there are any WPML-specific considerations or pitfalls we should be aware of.

Thanks in advance for your guidance.

主题'[關閉] Language-specific tracking pixels (Meta/Facebook Pixel) with WPML'已关闭,不接受新回复。