Page-related tags

From Genesys Documentation
Jump to: navigation, search
This topic is part of the manual Event tracking with tag managers for version Current of Genesys Predictive Engagement.

Review page-related tags that you can use in your organization.

Record a custom web event when a visitor hesitates on a page for more than 60 seconds

If a timeout completes on a page, this tag records a custom web event.

Tag for web chat customers

The following tag only applies to customers using web chat. If you are a Genesys Cloud CX customer using web messaging, use the tag for web messaging customers.
ac('dom', 'ready', function () {
  setTimeout(function(){
    ac('record', 'timeout-60', 'Hesitate On Page');
  }, 60000);
});

Tag for web messaging customers

The following tag only applies to Genesys Cloud CX customer using web messaging. If you are using web chat, use the tag for web chat customers.
Genesys("subscribe", "Journey.ready", function(){
  setTimeout(function(){
    Genesys("command", "Journey.record", { eventName: "timeout-60", customAttributes; { message: "Hesitate On Page"
      }
    });
  }, 60000);
});