Search code examples
google-analyticsanalyticsgtag.js

Do you need to set the non_interaction param in gtag for the default events?


E.g. In the link below would you need to set the 'non_interaction' param for the set_checkout_option event?

As this will fire on page load on the checkout but I don't want it to effect bounce rate.

Event docs

gtag('event', 'set_checkout_option', {
    "id": this.order.id,
    "checkout_step": 1,
    "checkout_option": "Basket",
    "value": this.order.total,
    "items": this.order_items
});

Or

gtag('event', 'set_checkout_option', {
    "id": this.order.id,
    "checkout_step": 1,
    "checkout_option": "Basket",
    "value": this.order.total,
    "items": this.order_items,
    "non_interaction": true
});

Solution

  • So the first thing I need to clarify is that BOUNCE RATE is calculated based on the number of SINGLE HIT Sessions with the particular page as the LANDING PAGE.

    The bounce rate will not tell you how many people arrived at the page and left (drop off), there is a difference.

    In your example, this would mean that someone STARTS the session on the checkout page.

    If that's never going to be the case then you don't need to set it as a non-interaction event.