Update youtube_status.php

added FB lead pixel
This commit is contained in:
Josh Finer 2018-04-05 09:10:58 -04:00 committed by GitHub
parent d44a02f425
commit fbe92c6411
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@
<?php js_start() ?>
if(!localStorage.getItem('status_token')){
ga('send', 'event', 'YT Sync', '<?php echo $isSyncAgreed ? "pending" : "queued" ?>', '');
fbq('track', 'Lead');
}
<?php js_end() ?>
<?php endif ?>