Google Analytics Integration

Google Analytics Integration With Pirsonal

Pirsonal’s integration with Google Analytics helps you send event data to Google Analytics when a personalized video or an interactive video powered by Pirsonal Player is viewed.

In this article, you’ll learn how the Google Analytics integration works, and how to start using it so that you can use individualized video views information to make better marketing decisions.

Things you should know before you start

  1. In order to use Pirsonal’s integration with Google Analytics, you need to have a Google Analytics account.
  2. Pirsonal does not store Google Analytics events data.
  3. The connection with Google Analytics works on a per template basis, not at an account level.
  4. Before you launch a video personalization campaign, make sure to test that your Google Analytics account is receiving data from Pirsonal Player.

Steps to Connect Pirsonal with a Google Analytics account

At this time, the Google Analytics connection is only available through our API. We do not offer an easy way to add your Google Analytics credentials from our user interface, but there is a planned update related to this.

In order to connect your Google Analytics account with a personalized video template or with an interactive video project, you need to provide a valid Google Analytics tracking ID (example: UA-12345678-1).

Adding the tracking ID using Pirsonal API

If you are using Pirsonal’s API to create personalized videos, interactive videos and dynamic landing pages use:

  • Template_New to create a new template and attach a Google Analytics tracking ID by filling the GATrackingCode string.
  • Template_Update to update an existing template by providing a Google Analytics tracking ID the GATrackingCode string.

Adding the tracking ID using Pirsonal API Test tool

You can also use the API Test tool to update an existing template with the Google Analytics tracking ID. Follow these steps:

  1. Go to API Test in the API documentation
  2. Your Account ID and Account Secret credentials will be automatically populated. You can also manually add them.
  3. In the method dropdown, select “Template Update”
  4. Add the templateID. To find the template ID, follow these steps: Go to Template > Find the template you need > Click on the Action menu (three dots) > Click on Info
  5. Now, find the following field “GATrackingCode” and paste your tracking ID there.
  6. Now, click “Execute” to save the change.
  7. Test this update by accessing a video from this template using Pirsonal Player or Pirsonal Pages and verifying that the data is sent to Google Analytics (in real time).

Where to find your Google Analytics Tracking ID

Google Analytics Tracking ID

  1. Sign in to your Analytics account.
  2. Click Admin.
  3. Select an account from the menu in the ACCOUNT column.
  4. Select a property from the menu in the PROPERTY column.
  5. Under PROPERTY, click Tracking Info > Tracking Code.Your Tracking ID is displayed at the top of the page.

Event data sent to Google Analytics

Pirsonal will send event data to Google Analitycs on a per video ID basis.

This is the information tracked:

  • Plays
  • Percentage of video viewed
  • Volume change
  • Number of times the CTA has been displayed
  • Number of times the CTA has been closed
  • When the CTA has been requested by the user
  • Geolocation information