Custom Events

Creating Custom Events With Show App

Creating custom events helps you collect campaign specific data for your digital assets. Even when you have specific events that need to be triggered by a specific page on your website, show’s custom events can aid better.

Here you will learn how to create custom events with and without a show video.

Creating Custom events with Show video\ To create custom events with the Show video, go to the ‘My Video’ section on the dashboard.

Locate the video you want to create the event with and click on the share icon on the selected video.

This should open the “Embed a Video” Pop up, from there copy the Inline Embedded code by clicking the copy button at the right hand bottom of the pop up screen. Paste the copied Inline Embedded Code to WordPress. Now copy the code below to add to your WordPress code section.

{`

`}

After pasting it in the WordPress code section, you have to now change the access token mentioned in the script. The access token will be provided by the show application. For the access token go to the settings page and click on the “API Access" option on the bottom of the left hand side. Create a new token by first deleting the old token click on the “edit” option shown in the top right hand section. A pop up screen named “Edit API Token” will appear, click on the first two check boxes and click on delete. After the “Token Deleted successfully” appears, click on the “New Token” button that will be on your top right hand section. This will open a link pop up screen titled “Create API Token”, set the token name, set appropriate permissions and click on the save button. The new token will be generated now copy and paste it in the WordPress code section you were editing before. Refer screenshot given below to know where exactly to paste the new access token.

Here in this code editor, you can change the name of the custom event to any event name you want by replacing the “first initial phase” in the code. You can also add a custom button by using the script given below.

Change the button name accordingly by replacing the phrase “Clicking me is a custom event”. Save the draft on WordPress and click preview. This should show you a page with the video and the custom button below it.

How to add custom events without Show video

To add a custom event without the show video you just have to copy one small portion of the code.

{`

`}

Remove the rest of the video code from the wordpress code section. Change the custom event name on the code base just as shown previously. Save the draft and click on preview. This should give you a screen with just the custom button. Anyone clicking the link can be tracked with this feature.

Tracking custom event in Show Application\ After creating a custom event here is how you retrieve the responses. Go to the show app homepage click on contacts and find the visitor subsection. Once you refresh the page all responses recorded by your custom event and the custom event will be recorded here.