Discussions

Tag Filter:
I have a data column for GoogleTagID, which contains the Google Analytics ID. If the data column is empty, then I want to hide the Google header script block in an ItemTemplate, but if there is a value for GoogleTagID, then I want to show the Scriptblock. I have included the code in the fiddle that I am using. Is it not possible to conditionally hide a Scriptblock? Also I can't seem to conditional