Telium not sending requests and tracking data

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? 

View Entire Topic

HI

the utag.link or utag.view in and of themselves don't create any calls, rather they are functions that re-run any pertient extensions and trigger vendor tags accordingly. 

I recommedn the use of the Tealium Inspector, paste the code below into a bookmark.... 

javascript&colon;(function(){window.open("","UDO Inspector","width=600,height=514,scrollbars=1"/*,resizable=1"*/).document.write('<script language="JavaScript" id="udoaudit" src="//tags.tiqcdn.com/utag/adrian-test/tools/dev/utag.4.js?'+Math.random()+'"><\/script>');}());

It logs the trackign calls so you can see them coming through. 

Ciao

 

Gavin

Tealium Expert