Hi Karan,
After going through your previous post it looks like there is discrepancy in your GA tool configuration as a result of which GA tags are not fired. It is recommended to go through the following link for best practices of configuring GA tool in DTM - https://marketing.adobe.com/resources/help/en_US/dtm/ga.html and then debug the configuration once to check if everything is being set up in a correct way.
Also, For the use case you mentioned, we would suggest to capture the Data Element in the following manner for Event rule.
Now, under Rule Conditions Criteria, choose "Data > Custom" and click the "Add Criteria" button, which will then show a Custom codebox section.
Within that codebox, enter the following:
var URL=document.URL;
_satellite.setVar('Page URL',URL);
return true;
So the way this works is that within a condition we have used _satellite.setVar() method to set a data element called "Page URL" to the value of the document.URL . Then we return true to ensure that the condition is always true, so that this condition will not prevent the rule from triggering.
Please feel free to let us know if you have any questions or queries.
Thanks & Regards
Parit Mittal