Thanks it helped. Actually I was trying to include the snippet in CMS page directly and it was not rendering properly. Now created a separate template and assigned it to the page and added the snippet in the template.
|3 hours ago|
|4 hours ago|