Register Youtube plays on Mautic
Switch branches/tags
Nothing to show
Clone or download
Latest commit f00be14 Nov 11, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
plugin-update-checker Updater Nov 11, 2017
.gitignore Initial commit Nov 10, 2017
LICENSE Initial commit Nov 10, 2017
README.md README Nov 10, 2017
exemplo.html WP Plugin Nov 10, 2017
lead-timeline.png README Nov 10, 2017
plugin.php BUMP 1.0.5 Nov 11, 2017
readme.txt BUMP 1.0.5 Nov 11, 2017

README.md

mautic-youtube-logger

Register Youtube plays on Mautic

Download Wordpress Plugin

You can download the latest version o Mautic Youtube Logger Plugin here:

Download Plugin

Install on the same way you install any Wordpress plugin ;)

Using the Shortcode

This plugin provides a simple shortcode where you pass 3 parameters:

-videoId: The youtube Video ID.

So the ID is NpEaa2P7qZI on this URL: https://www.youtube.com/embed/NpEaa2P7qZI?enablejsapi=1

-mauticUrl: Full URL of your mautic

-height: Height in pixels of Youtube Player

So you can use this shortcode:

[mautic_youtube videoId="NpEaa2P7qZI" mauticUrl="https://mkt.powertic.com"]

The height params is optional with "500px" default value.

How it Works

This script tracks youtube plays and logs to Mautic Pixel Tracking with:

  • Video ID
  • Video URL
  • Video Title

Also add a tag with videoID suffixed with "_end" if lead watch entire video:

youtube_NpEaa2P7qZI for who watched NpEaa2P7qZI video

youtube_NpEaa2P7qZI_end for who watched NpEaa2P7qZI until end

See Mautic Lead Timeline entry

Example