Since the move to GA4 we've been sending the custom dimensions data like that, instead of defining the dimension names in custom_map and setting the values separately:
gtag('config', 'G-XXXX', {
'custom_map': {'dimension1': '$val1', 'dimension2': '$val2', 'dimension3': '$val3'}
});
Now we understood that the following code should be used instead:
gtag('config', 'G-XXXX', {
'custom_map': {'dimension1': 'name1', 'dimension2': 'name2', 'dimension3': 'name3'},
'name1': '$val1',
'name2': '$val2',
'name3': '$val3'
});
We also have the language and module in the page url that were sent alongside the page views. Is the data from that period of time lost? Is there a way to fill the dimensions in retroactively based on the event page urls, or based on the data sent with the previous code?