Vahid Goudini

Business Development

Software Developer

Data Scientist

Project Manager

Blog Post

cookie tracking analytics

25 January 2022 Toturial

Subscribe To My YouTube Channel For More Upcoming Videos

cookie tracking with analytic

first connect yor website to google tag manager thene make 2 tag (persis campain and coockie html below code) and 1 Variable Go ahead according to the video

coockie html tag in GTM

				
					<script>
(function () {
  var value = ""         //fill with variable which information should be written into the field
  var selector = ""     //fill with CSS Selector that identifies the form field
  var field = document.querySelector(selector)
  if(field){ field.value = value; }
})();
</script>
				
			
Tags:
Write a comment