Is setting the Data Layer via Adobe Launch rules a bad practice?
Currently I'm able to create Analytics rules which trigger based on URL, and then push the appropriate data onto the Adobe data layer. I was going to have these rules fire as 1st priority, and then I could use that Data layer information for analytics tracking using subsequent rules.
Is this bad practice? I've been unable to create working data elements for the data that gets pushed this way, but I'm still unsure if thats just user error, or because of something inherently wrong with the way I'm setting the data layer. The data is visible in the browser console, I just can't seem to get any Launch rules to meet a value comparison for data added this way.
I am trying to avoid having the AEM Sites developers put the Data layer into the source code directly. Any help is greatly appreciated.
Thank you!
