PlatformApplicable to all products in Temenos Journey Manager. | All Personas | All versions This feature is related to all versions.
The Temenos Journey Manager allows you to add page tracking using Google Analytics (GA), so each page will fire a page view event with a title and URL, which you can analyze to improve user onboarding. You can easily add GTMGoogle Tag Manager (GTM) is a tag management system (TMS) that allows you to quickly and easily update tracking codes and related code fragments collectively known as tags on your website or mobile app. to a Maestro form using Journey Manager and Journey Maestro tools. The simplified steps are outlined below. For detailed instructions, including Google Tag Manager configuration, see how to add Google Tag Manager to a Maestro form.
To add GA to your web app form:
// Init the global variable used to store the form story for GTM
dataLayer.push({event: "Form started"});
window.addPageToGTMTag = function() {
var currentPage = Form.getCurrentPageId();
dataLayer.push({ event: currentPage});
}
// Function to add Google Tag Manager leaving page event
window.addGTMLeavingPageTag = function() {
// Push this event to GTM
var currentPage = "leaving_" + Form.getCurrentPageId();
dataLayer.push({ event: currentPage});
}
// Function to add the Google Tag Manager iFrame to the form
function addGTMTag() {
$('body').prepend('<noscript></noscript>');
$('body noscript').first().prepend('<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PTNXXX" height="0" width="0" style="display:none;visibility:hidden"></iframe>');
}
addGTMTag();
// Push this event to GTM
window.addPageToGTMTag();
// Push leave event to GTM
window.addGTMLeavingPageTag();
Next, learn about Temenos Journey Manager platform development.