Tags are fired in Debug Mode but not seen in real-time dashboard

Hi, I am new to Piwik Pro. I am trying to collect data via data layer event in Typescript.

public push(category: string, action: string, value: string, eventName: string) {


		window.dataLayer = window.dataLayer || [];  // Initialize dataLayer if it doesn't exist

		const eventData = {
			event: eventName,
			category: category,

			action: action,
			value: value
		};

		window.dataLayer.push(eventData);

		console.log('pushed event to dataLayer:', window.dataLayer);  // Log the pushed data

		window._paq.push(['trackEvent', category, action, eventName, value]);  // Track the event in Piwik


	}

In debug mode, I can see the tags being fired but still I cannot see any custom event in real time dashboard

What else can I check? I am stuck.

Hi Enzo,

Do you see the event you’re looking for in tracker debugger?
Here’s how to find it: How do I find my session in the tracker debugger? | Piwik PRO help center

Best,
Oliwer

Wow, didn’t know that there is a Tracker Debugger. Now I can see the broken events. Also didn’t know the value field is only accepting number value.

Kinda gets lost on the Piwik documentation for beginner. Thanks

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.