Telium not sending requests and tracking data

bsiddiqui
Visitor
bsiddiqui

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? 

1 REPLY 1
Highlighted

Telium not sending requests and tracking data

dsavvy
Visitor
dsavvy Visitor

Hi

what exactly are you observing in your network tab?
Also download a tool called Tealium Utag Debugger for the Tealium custom tool,  (https://community.tealiumiq.com/t5/iQ-Tag-Management/Tealium-Tools-Universal-Tag-UTAG-Debugger/ta-p/...)

I would also have a read through this document (https://docs.tealium.com/platforms/javascript/debugging/)

Unfortunately I can't be much help without actually seeing the website itself.

Damian Savvides