- 2 Minutes to read
- Print
- DarkLight
Export a Pixel
- 2 Minutes to read
- Print
- DarkLight
Goal
To export a pixel to JavaScript or a URL that you insert into web pages or creatives to track visitor web traffic.
You have the following options:
Export On-Site Pixel
Export Impression Tracker Pixel
Export Click Tracker Pixel
Prerequisites
Create a pixel.
Integrate the external platforms that you want to export your impression trackers or click trackers to.
Export On-Site Pixel
To include the custom events and custom success events you configured for this pixel, export the pixel as an on-site pixel type.
In the Main Navigation, click .
⇒ The Data Collection Overview window opens.Click by the pixel you want to export.
⇒ The Export window opens.Select the On-Site option from the Pixel Type drop-down list.
⇒ The On-Site frame appears with the JavaScript generated for your on-site pixel.Click the Copy Code button. The JavaScript is copied to your clipboard.
Paste the JavaScript into every page of your website in a central location, for example, the <head> section.
Export Impression Tracker Pixel
In the Main Navigation, click .
⇒ The Data Collection Overview window opens.Click by the pixel you want to export.
⇒ The Export window opens.Select the Impression option from the Pixel Type drop-down list.
⇒ The Platform field opens.Select your target platform from the Platform drop-down list.
⇒ The Impression Tracker frame appears with the JavaScript that is generated for your impression tracker. To view the image that is generated for the impression tracker, click the Image tab. For certain platforms, a set of fields to specify optional URL parameters also appears.JavaScript can execute code. Use JavaScript when you want to track interactions or fire additional external pixels (piggyback).
Image cannot execute code. Use the image option when you cannot use JavaScript in your creative or in cases when JavaScript is disabled, for example, in emails.
If Optional URL Parameters input fields appear, specify the parameters that you want to add to the code. To remove a parameter, delete the entry in the corresponding field.
⇒ The parameter is appended to or removed from the code that appears in the Impression Tracker frame when you exit the field.Click the Copy Code button. The code is copied to your clipboard.
Paste the code into the creative you want to track.
Export Click Tracker Pixel
In the Main Navigation, click .
⇒ The Data Collection Overview window opens.Click by the pixel you want to export.
⇒ The Export window opens.Select the Click option from the Pixel Type drop-down list.
⇒ The Platform field opens.Select your target platform from the Platform drop-down list.
⇒ The Click Tracker frame appears with the URL generated for your click tracker. For certain platforms, a set of fields to specify optional URL parameters also appears.If Optional URL Parameters input fields appear, specify the parameters that you want to add to the URL. To remove a parameter, delete the entry in the corresponding field.
⇒ The parameter is appended to or removed from the URL when you exit the field.Click the Copy Code button. The URL is copied to your clipboard.
Paste the URL into the creative you want to track.
Related Topics
Configure an On-Site Custom Event
Configure an On-Site Custom Success Event