Who Me Too'd this topic

Who Me Too'd this topic

Bronze Contributor
Bronze Contributor

Hi, 

    I'm just starting to use tealium so forgive me if I'm missing somethign very simple here. Currently I'm just trying to test tealium on a SPA and trying to track page loads and events. Here what I have right now:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">    
</head>
<body>
    <div id="root"></div>
    <script type="text/javascript">
		var utag_data = {
			"siteSection": "CONSUMER_PAGE"
        }
        
	</script>
	<script type="text/javascript">
		      (function(a,b,c,d){				
		        a='//tags.tiqcdn.com/utag/{acction}/{profile}/dev/utag.js';				
		        b=document;
		        c='script';
		        d=b.createElement(c);
		        d.src=a;				
		        d.type='text/java'+c;d.async=true;				
		        a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a)				
              })();		
              
              setTimeout( () => {
                utag.link ({
                  "my_event": "test_event"
              })
              }, 2000)
	</script>	
</body>
</html>

I expected this snipped to add the test event and be able to view it in my dashboard but I don't see any activity when I launch my dashboard. 

 

I can see all the data tagas being added when use the web companion but when I observe my network tab no requests are being sent on .link() or .view(). What am  I missing here? 

Who Me Too'd this topic
Public