• Hello,

    Frist of all, thank you for your amazing plugin !

    I have an issue with events : “purchase” and “add_to_cart” that are fired twice. (at least).

    My guess is that one is fired by woocommerce and one by your plugin.

    I already looked for informations and solutions online, and tried to disabled option in the settings. But none of that worked.

    I will appreciate wether you can give me some hint on that.

    Thank you

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter paul2411

    (@paul2411)

    This is the API call of Pixelyoursite

    
    
    gtag("event", "purchase", {
    send_to: ["AW-804445264/Y_BFCMKfubYZENC4y_8C"],
    ecomm_prodid: ["4255"],
    ecomm_pagetype: "purchase confirmation",
    ecomm_totalvalue: 0,
    event_category: "ecommerce",
    transaction_id: "15424",
    value: 0,
    currency: "EUR",
    items: [
    {
    id: "4255",
    quantity: 1,
    price: 0,
    google_business_vertical: "retail"
    }
    ],
    shipping: "Livraison Colissimo (Offerte)",
    coupon: "testpaul24",
    new_customer: true,
    page_title: "Paiement",
    post_type: "page",
    post_id: 1071,
    plugin: "PixelYourSite",
    event_url: "pouxexperts.fr/checkout/order-received/15424/",
    user_role: "administrator,group_leader",
    traffic_source: "tagassistant.google.com",
    event_time: "14-15",
    event_day: "Tuesday",
    event_month: "June",
    landing_page: "https://pouxexperts.fr/"
    })
    
    
    

    I have an other purchase envent with this API CALL:

    gtag("event", "purchase", {
    value: 0,
    currency: "EUR",
    transaction_id: "15424",
    conversion_cookie_prefix: "_gcl",
    conversion_linker: true,
    allow_enhanced_conversions: true,
    ads_data_redaction: false,
    developer_id: {dMWZhNz: true, dOGY3NW: true},
    enhanced_conversions: {
    Y_BFCMKfubYZENC4y_8C: {
    enhanced_conversions_mode: "manual",
    enhanced_conversions_manual_var: {
    email: "[email protected]",
    phone_number: "0666666",
    _tag_mode: "MANUAL"
    }
    }
    },
    send_to: "siloed_AW-804445264/Y_BFCMKfubYZENC4y_8C"
    })

    The dataLayer of this second purchase event is empty.

    • This reply was modified 9 months, 3 weeks ago by paul2411.
    • This reply was modified 9 months, 3 weeks ago by paul2411.
    • This reply was modified 9 months, 3 weeks ago by paul2411.
    • This reply was modified 9 months, 3 weeks ago by paul2411.
    Plugin Author PixelYourSite

    (@pixelyoursite)

    @paul2411

    The provided data and a quick test of your site suggest that indeed there is something else triggering the Google Ads tag. I suspect is the GTM container present on the site, that’s where I would look first.

    Thread Starter paul2411

    (@paul2411)

    Hello,

    I have checked and removed all the unnecessary GTM tags, but even after that, I continue to receive duplicate events generated by Pixel Your Site. However, the data layer is different. Is this normal? Won’t this distort my conversion data since the event is triggered twice? Thank you for your help.

    • This reply was modified 9 months, 2 weeks ago by paul2411.
    Plugin Author PixelYourSite

    (@pixelyoursite)

    Your screenshots doesn’t show duplicate events. It seems you are debugging the GTM container (I can’t do that on my end), and you probably opened the data layer for the GA4 tag and for the Google Ads tags.

    In order to see the events for each tags, switch from the container to the tag itself.

    I checked your site again and I can’t see any duplicate events.

    Thread Starter paul2411

    (@paul2411)

    Thank you for your help

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Events are fired twice’ is closed to new replies.