Wordpress Plugin

We have an early version of a HapYak plugin for Wordpress that you can use to easily publish HapYak projects to Wordpress and automatically pass logged-in user info from Wordpress to HapYak. That way your HapYak reports and analytics will show data for known viewers. This plugin is in ALPHA. So please use with caution and please back up Wordpress before installing it.

  1. Download the plugin here. Make sure you have backed up Wordpress. Then in Wordpress, click "Plugins", "Add New", and "Upload". Choose the .zip file you just downloaded. Click "Install Now", then "Activate Plugin". You'll see a HapYak Interactive Video menu appear in Wordpress. Click on it.
  2. In HapYak, go to the integrations tab. Copy the API Read Key and paste that into the box in Wordpress.
  3. Go to any post or page in Wordpress. Make sure your editor is in HTML mode.  Embed a HapYak project with one or more shortcodes.

Short Codes

[hapyak project=""][/hapyak]
Put the HapYak project number in between the quotes. The project number is found in the URL - for example, in the URL http://www.hapyak.com/portal/projects/6876, the project number is 6876.

[hapyak project="" userinfo="true"][/hapyak]
If userinfo="true" then user information from Wordpress will be passed as variables to HapYak reports and analytics. The variables that are passed are userId, username, email. The variables username and userId will be used to identify unique users in HapYak's analytics.

Short Code Example

[hapyak project="6876" userinfo="true"][/hapyak]


  • Projects are published using HapYak Player.
  • Only Projects can be published with shortcodes. For Experiences, simply copy the embed code in HapYak and paste into Wordpress.

Please Note: this is a Proof of Concept only provided to show the possibilities of the HapYak Platform and should not be taken as an offer to create, edit or maintain custom integration or development.

Did this answer your question?