Created
September 25, 2017 17:16
-
-
Save sahanh/d868ab5e50b3e4139dc92a47c4cc9d39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/javascript"> | |
var options = { | |
autoplay: true, //to stop autoplay of the video, make this false | |
facebookPixelId: '<your fb pixel id>', //put your facebook pixel id here | |
customEvent: false, //do you want to track this as a custom event, put it here | |
height: '390', //height of the video within quotes | |
width: '640', //width of the video within quotes | |
videoId: 'M7lc1UVf-VE', //id of the video within quotes | |
injectionProgress: 50 //the progress of the video that needs to trigger fb pixel | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment