About this plugin
Public beta: This plugin is in an early public testing phase. Test your setup on a staging site and verify event delivery and consent behavior before using it in production. Feedback and bug reports are welcome.
Need help with implementation? I can help you implement and configure the plugin on your website. Contact me by email.
js on the frontend and sends selected server-side events directly from WordPress to Seznam SEM.
Supported frontend events:
- PageView
- ViewContent
- Search
- Contact from contact clicks or optional copied contact text
Supported server-side events:
- WooCommerce AddToCart, InitiateCheckout, AddPaymentInfo, and Purchase by default, with optional developer dataLayer Purchase mode
- Lead events (Contact Form 7, Elementor Forms, WPForms, dataLayer)
- WordPress/Woo CompleteRegistration
The plugin also captures sid, udid, and sznaiid, bridges Google Consent Mode v2 to SEM updateConsent, hashes S2S user data server-side, deduplicates duplicate form leads, and keeps S2S delivery logs with retry handling. cz premise’s combined frontend SEM ID paired with its separate S2S SEM ID.
cz ITEM_ID, Action Scheduler support when available, and WP-Cron fallback for small sites.
Developers can connect any cookie banner/CMP through focused public hooks instead of relying on a plugin-specific cookie parser. NvaSemS2SBridge.
Built-in CMP adapters are enabled for CookieYes and Cookiebot. CookieYes maps advertisement to ads consent, analytics / performance to analytics consent, and functional to functionality consent. Cookiebot maps marketing, statistics, and preferences to the matching Google Consent Mode v2 values.
Developers can disable these adapters with nva_sem_s2s_disable_cookieyes_bridge and nva_sem_s2s_disable_cookiebot_bridge.
Plugin author: František Bujnovský, a web analyst and web developer who helps brands and businesses grow through web analytics, precise measurement, and development. com/. com.
Privacy / External Services
This plugin depends on Seznam’s Event Measurement service. js ) on the frontend to manage identity cookies and collect browser events. cz/rtgconv ) to dispatch conversion events.
Data is sent when tracking is enabled and the relevant consent and event conditions are met.
cz/merici-skripty/seznam-event-measurement/implementace-sem/server-to-server-s2s-mereni/
cz/pravidla/smluvni-podminky-pro-inzerenty/
cz/pravni-informace/ochrana-udaju/
This is an independent open-source integration. cz. Seznam and related marks belong to their respective owner.
To respect user privacy and comply with GDPR regulations, the plugin:
js, which requires ad_storage: granted.
* Captures sznaiid from the Sklik click URL parameter. It may temporarily store it in the plugin’s own first-party browser storage and sync it to WordPress/WooCommerce session/order metadata for later S2S attribution. Sklik SEM S2S documentation describes sznaiid as a click ID used for anonymous conversion modelling and states that it can be safely stored server-side without user consent.
* Sends s2s_headers with client IP address, User-Agent, and available Sec-CH-UA* Client Hints only when ad_storage consent is granted.
) using SHA-256 server-side before dispatching, and only sends it if ad_user_data consent is granted.
* Retains local S2S delivery logs for debugging. Payload previews are retained for diagnostics and are masked. Full payloads are temporarily stored while events are queued or retrying; after successful delivery or permanent failure they are cleared unless Debug Mode is enabled.
Debug Mode caps log retention at 24 hours; turning Debug Mode off clears stored full payloads and debug-only log rows.
* Registers suggested Privacy Policy text in WordPress admin.
* Rate-limits the frontend Lead REST endpoint by source and client IP.
For Developers
Most sites do not need custom code. For custom integrations, the main extension points are:
- nva_sem_s2s_track_lead( $args ) for custom WordPress lead forms.
- nva_sem_s2s_track( $event_name, $event_data ) for officially supported server-side SEM events, including valid non-WooCommerce Purchase payloads. Arbitrary event names are rejected.
- window.NvaSemS2SBridge.trackLead(args) for browser-triggered custom Lead tracking delivered through the plugin S2S endpoint.
- nva_sem_s2s_consent_mode for custom cookie banners or CMPs.
- window.NvaSemS2SBridge.setConsent(consentMode) for frontend consent changes from a custom banner.
- nva_sem_s2s_disable_by_gdpr to halt all plugin tracking from site privacy logic.
- nva_sem_s2s_hidden_identity_form_selectors to add exact custom forms that should receive sid/udid/sznaiid hidden fields.
- nva_sem_s2s_purchase_contents_item to customize WooCommerce product ITEM_ID mapping.
- nva_sem_s2s_delivery_result to react to S2S delivery results in custom monitoring or logging.
- nva_sem_s2s_premise_key to select a configured Zboží.cz premise when URL matching is not enough.
- nva_sem_s2s_premise_route to customize the final pair of frontend and S2S SEM IDs.
Hidden identity fields are intentionally limited to known form types by default. The broad all-forms mode is disabled in the admin UI for production safety.