-
Troubleshooting Custom Dimension in Google Analytics with gtag set() Method
Hey there, I need a little help with setting up a custom dimension for GA4. I named it
chain_idand tried to integrate it using the gtagsetmethod. Just to be safe, I added thecustom_mapproperty into the config as well (even though I am not 100% certain if that’s necessary).I noticed the issue, seems like the
chain_idis not sent with the event. I spot-checked this with the GA debugger’s console output. I was expecting thechain_idwith the value ofTest chain idto show up under event parameters, but it’s missing. Any thoughts on this?Check the debugger console snapshot here:

Here’s the JavaScript and HTML code I’m working with:
Cheers!
Log in to reply.