The Campaign module provides the ability to track viewing activity when the viewer has logged into a system using single sign-on (SSO) such as a Gallery experience that has been set up for SSO and Access Control Profiles. In this scenario, viewing data is not sent to a marketing automation platform. With a Campaign SSO configuration, SAML attribute(s) are passed to Campaign to identify the viewer. One common use case for this would be internal training videos. Employees might be required to login to watch videos and then their viewing activity can be tracked and then viewed inside the Campaign module. The Campaign Module will store up to 500K event views per connection. Once the limit has been reached, it will start purging old events.
To enable Campaign for use with SSO, the following steps are required:
The steps to install and configure SSO software is outside the scope of this topic. The SSO software should be configured so users have to authenticate themselves before they can view Video Cloud videos. The SSO software should be configured to expose some user attributes so they can be accessed from an external application. For example, this Okta SSO configuration exposes three attributes, FirstName
, LastName
and Email
.
In this topic, the Email
attribute will be used to identify viewers to the Campaign module.
The application or website that will be used to view Video Cloud videos should be configured so that the SSO attributes are made available to Campaign using JavaScript. This configuration will vary based upon the application or website being used. In the following example, an SSO access control profile was created in Gallery. As part of the configuration, the Email
SSO attribute is being exposed and will be available inside the Gallery site. This is the value that will be used to identify viewers to the Campaign module.
Follow these steps to setup the connection between Video Cloud and your SSO provider.
The SSO connection is now set up and ready to use.
Once the SSO connection has been made, you can configure the integration.
empty
link in the SSO Property section. Enter the name of the JavaScript value to look for in the page. In this example, Gallery was configured to expose the Email
SSO attribute so that is what is being used here.
In this topic, the Campaign SSO integration will be used to track viewing activity. Click
.To remove the integration, click
. The bottom of the page will list all Campaign-enabled players, the connections they are associated with and the associated lead forms.The Campaign module supports multiple connections to marketing platforms. Click
to configure additional integrations.If you don't specify a value for the SSO Property when the integration is configured, you are responsible for identifying viewers. The Campaign module needs the following information:
Description | URL Parameter | Embed Parameter | Value |
---|---|---|---|
What’s the GUID (needed for view event tracking) | bcssoguid |
data-bc-sso-guid |
string |
This parameter can be passed in via a URL parameter or through the player embed code. For viewer tracking to occur, this parameter should be passed as a URL parameter on the page that is displaying the video.
It’s also possible to pass the GUID to the Campaign player using a JavaScript value that’s available in the page. Using the player config, it’s possible to tell Campaign what the name of the JavaScript variable is and Campaign will then attempt to read that variable using it as the custom GUID. To do this, edit the Campaign player and configure the plugin options for the Campaign plugin.
In the above example, the player config is telling Campaign that there’s a JavaScript object in the page called samlAttributes
and it has a property called nameID
. Campaign will attempt to read that and use its value for the custom GUID.
Video engagement data will only be tracked when you are using a Campaign-enabled video player. For information on creating a Campaign-enabled Brightcove Player, see Creating a Campaign-enabled Player.
There are several options available for viewing video data when using an SSO integration:
SAML attributes can either be listed one at a time or a checkbox can be selected to expose all SAML Attributes.
Checking the Expose SAML Attributes checkbox will expose any tags from the SAML that your SSO provider sends upon user signin. You can verify these attributes by taking the following steps:
window.samlAttributes
.