best practices and tips
4 min read
August 16, 2025
-
(function () {
var TABOOLA_ID = 1864577;
function fireTaboola(name, data) {
window._tfa = window._tfa || [];
_tfa.push({ notify: 'event', id: TABOOLA_ID, name: name, data: data || {} });
}
// Check if a URL points to the 90-sec form step
function isNinetySecForm(urlLike) {
try {
var u = new URL(urlLike, window.location.origin);
// Allow /form/step/1 and /form/step/1/
var pathOk = /^\/form\/step\/1\/?$/i.test(u.pathname);
var type = (u.searchParams.get('type') || '').toLowerCase();
return pathOk && type === '90sec';
} catch (e) {
return false;
[...]