Source always assigned as direct in Google Analytics when no interaction with consent banner

Answered

Comments

1 comment

  • Hi Jorrit,

    There could be similar behavior if a link in a page is not an <a> tag, but another type of tag with an onclick-event which navigates the visitor to a new page. The reason is Cookiebot will only automatically submit Active Consent on a click by default - and wait for Google Analytics(GA) to register the visit -  when the visitor clicks an <a> tag. If links are not  <a> tag, then the same behavior can be applied to other website elements by adding the CSS class "cookieconsent-implied-trigger" on all elements that should trigger an Active Consent and wait for the page visit to register in GA.

    Regards,
    Elina

    0
    Comment actions Permalink

Please sign in to leave a comment.