Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Achten Sie darauf, dass die verwendeten Bezeichnungen mit denen in Ihrem GA4 Account übereinstimmen, da die Events ansonsten nicht erkannt werden können.

How to test what type of value is returned from custom tracking code function

You can take the minified function code from configuration returned with the uptain.start event. For each popup there will be an onCloseCallback function passed if it’s present in the configuration. You can copy the function and wrap it with IIFE function like this (function (){})() and paste this function in the dev tools console on your website. Here is the example:

Code Block
(function() {
  return gtag("event", "uptain-em-popup-closed", {
     vent_category: "Uptain Email Popup",
     event_label: "Uptain Email Popup Closed"
  }),
  !0
})()

The function response you’ll see right under the function invocation as in the screenshot (in the third screenshot you can see a faulty function that is returning undefined). If true - all okay, if false or undefined the function is not right and the popup might have limited or faulty functionality.

GA4-1.pngImage AddedGA4-2.pngImage AddedGA4-3.pngImage Added

(info) Bitte beachten Sie, dass wir keine Gewähr für die Funktionalität bieten können und wir hier lediglich eine Hilfestellung anbieten.