To set up tracking for media content on your site, first click “Add Media” in the WordPress post editor and upload the audio or video file to your site. After the upload is finished, click “Insert Into Post” to add the player to your post.
You can also add embedded media by going to the Insert from URL tab and including a link to a video hosted elsewhere.
After the media is inserted, you’ll see a preview in the post editor. Hover over this and click the pencil icon to open up the media details window.
In the media details window, you’ll see the WP Fusion Media Tracking box appear below the video, with several settings:
- Apply tags when media started: These tags will be applied to the user as soon as they click the “Play” button.
- Apply tags when media completed: These tags will be applied to the user once the media file completes playing.
- Apply tags at timecode (timecode): Enter a timecode at which additional tags (configured in the next field) should be applied. Timecode can either be in seconds (like “45”), or in delineated time notation (like “1:45”, for 1 minute 45 seconds).
- Apply tags at timecode (tags): These tags will be applied when the timecode specified in the field above is reached.
Any of these fields can be left blank to disable that specific trigger.
For those with more advanced tracking needs, you can track multiple timecodes by editing the shortcode directly. Switch over to the Text tab in the editor, and you’ll see the embed code for your media, something like:
[embed wpf_tags_start="93" wpf_tags_complete="118" wpf_timecode="1:20" wpf_tags_timecode="118"]https://www.youtube.com/watch?v=1234567[/embed]
Multiple timecodes can be added in the format
wpf_tags_timecode_2="123,456" where the tags for the second property are a comma separated list of tag IDs to be applied (Infusionsoft and Ontraport) or tag names for other CRMs.
For example, to apply tags at 1:20, 1:40, and 2:40, your shortcode would look something like the following:
[embed wpf_timecode="1:20" wpf_tags_timecode="118" wpf_timecode_2="1:40" wpf_tags_timecode_2="119" wpf_timecode_3="2:40" wpf_tags_timecode_3="120"]https://www.youtube.com/watch?v=1234567[/embed]
WP Fusion doesn’t support vooPlayer’s “vooPlayer Shortcode” popup, but you can still configure media tracking by editing the shortcode it generates. After insering a video, you’ll see a shortcode like:
[vooplayer type="video" id="OTU3MzM="]
You can configure tags to be applied by editing the shortcode attributes. The parameters are:
- wpf_tags_start: Comma separated list of tags to apply when the video begins to play
- wpf_timecode: A timecode at which to apply specific tags
- wpf_tags_timecode: The tags to apply at the timecode specified with wpf_timecode
- wpf_tags_complete: The tags to apply when the video is finished
[vooplayer type="video" id="OTU3MzM=" wpf_tags_start="VooStart" wpf_tags_complete="VooComplete" wpf_timecode="1:20" wpf_tags_timecode="Voo120"]