Veritone Attribute Pixel is a small snippet of code owned and generated by Veritone that allows you to gather information about visitation to a site and visitors on a site.
There are two methods for Pixel installation:
- Install Pixel code directly (steps below)
- Installing using Google Tag Manager (GTM)
Regardless of your method, installation will vary depending on the website builder you use. You can deploy the tag onto the entire site or just individual pages you want to gather site visitation data on.
[Note]Pixel is only available to Veritone customers in the US.
Before you begin
- Have your Attribute Pixel snippet code from your broadcast partner.
- Have your webmaster or website service ready to install container codes. This may require backend site access. We provide general instructions below.
Steps
-
Gather the Veritone Attribute Pixel tracking snippet code from your broadcast partner.
Example Pixel snippet code:
<script src="https://pixel.veritone-ce.com/" defer pixel-id="VERITONE_PIXEL_ID"></script>
Where “VERITONE_PIXEL_ID” is replaced between the quotation marks with a unique pixel identifier specific for your advertiser profile and site.
- Place the
<script> tag between the <head></head> tags.
Note: If your tracking pixel has been deployed, but you are not seeing web data populate in your Attribute dashboard, make sure to allowlist the following domains:
- pixel.veritone-ce.com - hosts the javascript
- p.veritone-ce.com - hosts the pixel image
Wordpress websites
The following instructions are intended to be general and may not reflect your site setup. You can use a plugin with Wordpress or edit the code directly.
Use plugins
You can use a Wordpress plugin to install the pixel.
Add the tag ID to the Settings area of the plugin. Depending on the plugin, you may need to go into each page on your site to activate the plugin for that page. Options for disabling global settings may be available so you can install the container code on only the pages you want to track.
Edit code
If you are using a child theme in Wordpress, you can add the code snippet into the header.php file. The following instructions are general and may differ depending on your theme setup.
- In WordPress, click Appearance > Theme Editor and then header.php.
- Paste the Google Tag Manager <head> code below the <head> code and then the Google Tag Manager <body> code below the <body> code.
- Click Update File.
[Note]If you change or update your WordPress theme, you must repeat this process again as the header.php might be overwritten.
Squarespace websites
The following instructions are intended to be general and may not reflect your site setup.
In your dashboard, go to Settings > Advanced > Code Injection. The Code Injection area opens where you can add custom code to the header and footer.
To set code for specific pages, go back to your home page and choose Pages. Open Page Settings > Advanced. Insert the heading code in. Click Save.
Shopify websites
The following instructions are intended to be general and may not reflect your site setup.
- In the Shopify admin section, go to Online Store > Themes > Customize > Edit code.
- Find the
liquidtheme and insert your header code under the <head> tag.
[Note]Changes to the liquid theme affect your entire site. Use caution when editing.
Supported Pixel parameters
|
Pixel parameter
|
Definition
|
Who provides
|
Required?
|
|
VERITONE_PIXEL_ID
|
Unique Pixel identifier
|
Veritone
|
Required,
Must match the value provided by Veritone Success team
|
|
ts
|
Timestamp for cache busting (e.g. “gtmcb” in Tag Manager)
|
Client
|
No, but highly recommended
|
|
url
|
URL of the current page
|
Client
|
No, but highly recommended
|
|
ref
|
URL of the referring page
|
Client
|
No, but highly recommended
|
|
uid
|
Client generated user identifier
|
Client
|
Optional
|
|
sa
|
Sales amount for ROAS calculation
|
Client
|
Optional
|
|
page
|
Page name
|
Client
|
Optional
|