Telium not sending requests and tracking data

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? 

4 REPLIES 4

Telium not sending requests and tracking data

Tealium Expert
Tealium Expert

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

Telium not sending requests and tracking data

Bronze Contributor
Bronze Contributor

Hi,

 

Did you refer to the below dicumentation by Tealium?. Raise a ticket to Tealium support if this doesn't help.

https://docs.tealium.com/platforms/javascript/single-page-applications/#setup

Telium not sending requests and tracking data

Tealium Expert
Tealium Expert

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

Research your Experience | Improve and Evolve | Leave no one behind
- Don't forget to mark a solution as accepted if it hits the mark -

Telium not sending requests and tracking data

Tealium Expert
Tealium Expert

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

Research your Experience | Improve and Evolve | Leave no one behind
- Don't forget to mark a solution as accepted if it hits the mark -
Public