Download the Magento Data Layer Extension in the Adobe's Commerce Marketplace.
bin/magento maintenance:enable
bin/magento setup:upgrage
bin/magento setup:di:compile
bin/magento setup:di:compile
bin/magento maintenance:disable
After installation within the Magento Admin, go to Store and choose Configuration here.
Next, select the TAGGRS Data Layer extension. Then you can fill in the following points. Note that not all points are mandatory.
Then click Save Config to save the changes.
view_item_list
view_item
add_to_cart
remove_from_cart
view_cart
select_promotion
start_checkout
purchase