• Hello

    some issues with custom events here :

    1. when landing on a simple product : I have a gtm4wp.changeDetailViewEEC event triggered instead of a gtm4wp.productClickEEC when my users land on a product page.

    2. when landing on a variable product (no variation selected), I don’t have any event triggered. The gtm4wp.changeDetailViewEEC is correctly triggered when selecting a variation though.

    3. Looks like I have duplicated events for all my pages (either for product view, list view, variation selection, checkout, …) – e.g. on list pages, I have this one:

    dataLayer.push({
    event: “view_item_list”,
    ecommerce: {
    currency: “CAD”,
    items: [….]
    },
    gtm.uniqueEventId: 21
    })

    and this one:

    dataLayer.push({
    event: “gtm4wp.productImpressionEEC”,
    ecommerce: {
    currencyCode: “CAD”,
    impressions: […]
    },
    gtm.uniqueEventId: 19
    })

    Your POV on 1,2,3 would be super appreciated.

    Thank you !!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi.

    #1 gtm4wp.productClickEEC is fired when users actually click on a product in a product list.

    #2 that is the normal behavior. On a variable product page, the item ID of the product variation has to be sent to GA in order for the cart to detail and buy to detail metrics to work correctly

    #3 this is the normal behavior since the first event includes the data layer that is needed by GA4 and the second is needed by GA3/Universal Analytics

    Thread Starter fbciele

    (@fbciele)

    All good 🙂 Thank you for the answer !
    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘gtm4wp.changeDetailViewEEC’ is closed to new replies.