To use this plugin, you must use the following shortcodes.
- For wistia video: [acvt_wistia_tracker custom_title=’value here’ video_id=’value here’
email=’value here’ tag_format=’value here’ width=’value here’ height=’value here’] - For youtube video: [acvt_youtube_tracker custom_title=’value here’ video_id=’value here’
email=’value here’ tag_format=’value here’ width=’value here’ height=’value here’]
Required attributes for both shortcode:
Attribute | Description |
---|---|
video_id | The ID of the video |
Optional Fields:
Attribute | Description | Default |
---|---|---|
id | The unique id assigned to the shortcode. This is useful if you want to set multiple email address using the url and you have multiple video in a page. See explanation below. |
0 |
The contact’s email you want to add tags to. If you don’t want to use the shortcode’s email attribute, you can set it via url by adding the ’email’ parameter and it will use that email for every videos you have in a page(in case you have multiple videos). If you have multiple videos and you want set different email for each videos but you don’t want to use the shortcode’s shortcodes you use: url can be: If you want to use different emails for each videos: If in any case your email is generated using a shortcode, please put the shortcode in the email attributes without the [ and ]. |
||
custom_title | The video title you want | Original video title |
tag_format | How the tag should be displayed. You can use %vid_title% for the title and %vid_id% for the video id. For example you want the tag to have a format of: video title _@video id@, then the tag_format must be %vid_title% _@%vid_id%@ | [VID] %vid_title% (%vid_id%) |
width | Width of the video player | 640px |
height | Height of the video player | 360px |
tag | List of tags separated by comma to be added to a contact. Example: [acvt_youtube_tracker tag=’tag1,tag2’] You can also specify the tags in the url and it will added to all video trackers in the page. Example: http://example.com/?tag[0]=tag3&tag[1]=tag4 |
No tags |
rtag | List of tags sepearted by comma to be removed from a contact. Example: [acvt_youtube_tracker rtag=’tag1,tag2’] You can also specify the tags in the url and it will be added to all video trackers in the page. Example: http://example.com/?rtag[0]=tag3&rtag[1]=tag4 |
No tags |
overwrite_cookie | Set this value to 1 in the url to replace the stored email via cookie with the current email.
Note: only email passed via url will be saved. The email passed via shortcode is not. |
Empty |
Example usage for youtube: [acvt_youtube_tracker custom_title=’New youtube video title’ video_id=’JXSU2J3W9HM’ email=’example@gmail.com’Α
Example usage for wistia: [acvt_wistia_tracker custom_title=’New wistia video title’ video_id=’iigvmw8e2a’ email=’example@gmail.com’]