Implement e-commerce tags on the website

This topic has 4 replies, 2 voices, and was last updated 1 years, 2 months ago ago by Rose Tyler

  • Avatar: Ryan
    Ryan
    Participant
    September 25, 2023 at 19:24

    We need to implement e-commerce tags on the website. The GA team has identified the following issues with the data layer:

    1. view_item: Datalayer is present at this event. The issue is with the missing parameters:

    a. The value parameter is missing. It must be passed outside the items array

    2. Items array:

    a. Item list ID and Item list name are also missing

    b. tem variant needs to be there as items can be differentiated on different variants of the same product – Color/ Size or any other

    3. gtm.formInteract – This is not required. It is implemented when shipping details are filled out – https://prnt.sc/VEZYRt-e0Zor

    4. All the other ecommerce data layer reports missing – view_item_list, select_item, add_to_cart, view_cart, remove_from_cart, begin_checkout, add_shipping_info, add_payment_info

    Currently, GTM Kit plugin is installed: https://wordpress.org/plugins/gtm-kit/.

    My colleague proposes to use Google Tag Manager for WordPress (GTM4WP). When he installed GTM4WP, it pushed a lot of data that should not be sent. He says this usually occurs when there is an issue with the website template and the values are being mixed up. He recommends to ensure that the template confirms to the following configurations:

    https://gtm4wp.com/gtm4wp-for-developers/how-to-make-your-wordpress-theme-compatible-with-enhanced-ecommerce-tracking

    How to implement these configurations correctly with their template. Which GA4 data layer plugin they recommend we use with the template GTM4WP, GTM Kit or some other.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 26, 2023 at 07:46

    Hello, Ryan,

    Thank you for contacting us and for using XStore.

    Please check all these questions when not our theme is activated, but a default WooCommerce theme – Storefront (Appearance > Themes).

    Let us know the results of the tests.

    Kind Regards,
    8theme team

    Avatar: Ryan
    Ryan
    Participant
    September 26, 2023 at 12:39

    Hi,

    I’m not sure I understand. Is it that this can only be done on a default wordpress theme or is it that we are ruling out if it’s an issue with XSTORE theme or not? We need to have this functioning on the XSTORE theme. Kindly advise. Many thanks.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 26, 2023 at 14:31

    Hello, Ryan,

    We appreciate your prompt response.

    The test is required to find out if the situation is dependent of our theme or not.

    Kind Regards,
    8theme team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.