Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5981

setDocumentTitle with empty string problem

$
0
0

There is a problem with empty custom DocumentTitle.

PHP
<?php $mytitle = ''; ?>
paq.push(['setDocumentTitle', <?php echo $mytitle; ?> + document.title]);
Sourcecode
paq.push(['setDocumentTitle', + document.title]);
= not valid JavaScript.
Report
Pagetitle

PHP
<?php $mytitle = ''; ?>
paq.push(['setDocumentTitle', '<?php echo $mytitle; ?>' + document.title]);
Sourcecode
paq.push(['setDocumentTitle', '' + document.title]);
Report
"" Pagetitle

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5981

Trending Articles