You are here:
Adding Ecommerce Data to the Example Omniscript for OmniAnalytics
Google Tag Manager Ecommerce requires specific kinds of data. You must add this data to the Messaging Framework Omniscript properties. When the Omniscript runs, it sends this data to Google Analytics.
The example Omniscript and Flexcard communicate with Google Analytics 4 by using the Google Tag Manager Ecommerce APIs. For simplicity, and unlike a production Omniscript, the example Omniscript uses hard-coded data.
After you add Google Tag Manager data to the example Omniscript, return to the parent workflow and perform the Setting Up Third-Party Tracking and Event Types.
- Add Google Tag Manager Data to the Example Omniscript Setup
The Messaging Framework of the Script Setup stores the complete list of product impressions that’s sent to Google Analytics Ecommerce and the Google Tag Manager. - Add Google Tag Manager Data to the Example Omniscript Steps
The Messaging Framework of each step stores the product data that’s sent to Google Analytics Ecommerce and the Google Tag Manager.

