Tracking Progressive Web Apps


I am sure there is mention about tracking best practices for PWA, but I was not able to find any info. Perhaps if I can get help by highlighting implementation requirements and possible tracking challenges. 

Note. We are currently tracking iOS and Android Apps with especific 'Mobile Tealium IQ'  profiles and our apps have Tealium SDK installed. 

Here is a link to the PWA.


Accepted Solutions (1)

Accepted Solutions (1)

Hi @CesarFlorero ,

Here are some code snippets that might be helpful from the following blog post:

PWAs: What They Are and Why They’re Important

// File: index.html or app.js
// For those events in the window
window.addEventListener(‘appinstalled’, (evt) => {{tealium_event: "app_installed", app_type: "PWA"});

// In our app, listen to incoming events from the service worker
navigator.serviceWorker.addEventListener(‘message’, event => {;

// File: service-worker.js
// For those events occurring in the service worker
self.addEventListener(‘notificationclick’, event => {
    self.clients.matchAll({includeUncontrolled: true, type: "window"}).then(function (clients){
        client.postMessage({"tealium_event":"push_message_click", "push_message_id": "abc"});


Community Manager

Answers (0)