utag.link or utag.view - nested object

Hi,

Not sure any one have tried it, is there a way to to utag.link or view call with nested object??

Below example will give a better understanding I believe - 

datalayer exist on the page:

utag_data = {
    'a': 'Test A',
    'b': 'Test B',
    'c': 'Test C',
    'd': 'Test D',
    'e': 'Test E',
    'CC': {
        'v1': 'VA1',
    }
}


Link or View Call:

utag.view({
	'f':'Test F',
	CC['v2']: 'Value 2'
})


when I do a link call it replaces the entire 'CC' blob. Below is the screen shot - 

Step1: creating 'CC' with only one key('v1')
Step2: Insert a new key('val2') to the existing 'CC' object and it rewrites the entire 'CC' object
image.png
I am unable to target the nested object. Any suggetions or ideas??

Thanks

Accepted Solutions (0)

Answers (0)