"use strict";(globalThis.webpackChunkgtm_kit_settings=globalThis.webpackChunkgtm_kit_settings||[]).push([[389],{7389:(e,t,i)=>{i.r(t),i.d(t,{default:()=>r});var s=i(7723),a=i(6992),l=i(237),n=i(790);const r=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8",children:(0,s.__)("User Data","gtm-kit")}),(0,n.jsxs)(l.A,{children:[(0,n.jsx)(l.A.Header,{title:(0,s.__)("Warning!","gtm-kit"),className:"gtmkit-text-red-600"}),(0,n.jsxs)(l.A.Content,{className:"gtmkit-space-y-2",children:[(0,n.jsx)("p",{children:(0,s.__)("Including user data is not compatible with full page caching.","gtm-kit")}),(0,n.jsx)("p",{children:(0,s.__)("Full page caching will cache user data making it the same for all users. There are ways around this, but it depends on the chosen cache solution and is only for advanced users.","gtm-kit")})]})]}),(0,n.jsxs)(l.A,{children:[(0,n.jsx)(l.A.Header,{title:(0,s.__)("User Data Settings","gtm-kit")}),(0,n.jsxs)(l.A.Content,{children:[(0,n.jsx)(a.A,{title:(0,s.__)("Logged in","gtm-kit"),id:"logged-in",label:(0,s.__)("Include whether the user is logged in.","gtm-kit"),optionName:"datalayer_logged_in"}),(0,n.jsx)(a.A,{title:(0,s.__)("User ID","gtm-kit"),id:"user-id",label:(0,s.__)("Include the user ID if the user is logged in.","gtm-kit"),optionName:"datalayer_user_id"}),(0,n.jsx)(a.A,{title:(0,s.__)("User role","gtm-kit"),id:"user-role",label:(0,s.__)("Include the user role if the user is logged in.","gtm-kit"),optionName:"datalayer_user_role"})]})]})]})}}]);