mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-09-03 20:35:16 +00:00
Adding conditional to analytic
This commit is contained in:
parent
a8dd4a2caa
commit
8b50d3d516
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@
|
|||
<?php if (IS_PRODUCTION): ?>
|
||||
<?php js_start() ?>
|
||||
if(!localStorage.getItem('status_token')){
|
||||
ga('send', 'event', 'YT Sync', 'pending', '');
|
||||
};
|
||||
ga('send', 'event', 'YT Sync', '<?php echo $isSyncAgreed ? "pending" : "queued" ?>', '');
|
||||
}
|
||||
<?php js_end() ?>
|
||||
<?php endif ?>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue