Before you start
Complete the steps in Prerequisites before proceeding.Install the plugin
Log into Shopware admin
Install the Voyado extension
Activate and configure the extension
Create the hasAccount contact attribute
ThehasAccount attribute in Customer Engagement determines whether a contact is a registered customer or a guest in Shopware. Create it before you begin syncing contacts.
Log into Customer Engagement
Navigate to contact attributes
Add the attribute
Map sales channels to Customer Engagement stores
Mapping Shopware sales channels to Customer Engagement stores lets you track where customers register and ship orders. This data is available as a filter for automations and segmentation.Learn more about Customer Engagement stores
Log into Shopware admin
Navigate to Voyado Configuration
Select a sales channel
Set a fallback Customer Engagement store
Map specific countries
Configure cookie consent for web activity tracking
When the plugin is installed, it automatically adds a Voyado Analytics cookie entry under the Marketing consent group in Shopware’s default cookie banner.Triggering consent manually from a third-party CMP
voyadoConsentGranted browser event after the visitor accepts marketing or analytics cookies.
When this event fires, voyado.js sets the voyado-analytics=1 cookie and initialises tracking without requiring a page reload.
Trigger via JavaScript
Trigger via JavaScript
Trigger via Google Tag Manager
Trigger via Google Tag Manager
- Create a new Custom HTML tag in GTM.
- Add the following code:
- Set the trigger to fire when the visitor grants the relevant consent. If you use a data layer event, push it from your CMP:
voyado_consent_granted as the GTM trigger condition for the Custom HTML tag.Verify the setup
With the plugin installed and the Voyado team confirmation received, run through the following checks in a test environment.Confirm the plugin is active
Verify global tracking data
voyado-tracking-data. Confirm it carries the correct data-shop-id, data-sales-channel-id, and data-language attribute values for your store.If it is missing, the plugin template overrides are not loading correctly.Verify consent event wiring
voyadoConsentGranted event and sets the voyado-analytics cookie to 1. Confirm that revoking consent dispatches voyadoConsentRevoked and removes the cookie.If you are using a third-party CMP, this wiring must be configured in the CMP — not in the Voyado plugin.Verify contact identification
voyado-cid value is written to the browser’s local storage.Verify soft identification (optional)
eclub parameter, open a test link in a browser where no customer is logged in. Confirm that voyado-cid is written to local storage after the page loads.Test product tracking
/api/v2/shopware/product-tracking. The request should include the product ID, product number, and session ID.Test cart tracking
/api/v2/shopware/cart-tracking approximately 2 seconds after the button click. View the cart page and the checkout confirm page — a tracking call should fire on each. Complete a test order and confirm a final cart-tracking call with an empty product array is sent on the order confirmation page.Troubleshooting cart tracking
If cart tracking is not working, the Voyado Twig blocks may not be present in your theme. This can happen when using a custom theme or after modifying theme files. Option 1 — Reinstall the app. This reapplies the template customisations automatically. Option 2 — Add the Twig block manually. Add the following block to your theme’scart-widget.html.twig: