Fire Third-Party Pixels

How to fire third party pixels for onsite engagements

If you want to fire an external pixel during for engagement events such as outbound clicks or form submissions, you can do so by adding the following script to your <head> section.


You run campaigns on the an ad network that is neither integrated with AnyTrack nor it supports server side tracking. Yet, you still want to report engagement events to their pixel.

They provide you with an image pixel:

<img src="" width="1" height="1" />

Use the following script accordingly:

  AnyTrack('bind', 'OutboundClick', function() {
    AnyTrack('postback', '{click_id}');

This function works according to the AnyTrack standard engagement events terminology.

  • OutboundClick - Outbound clicks

  • FormSubmit - Form submissions

Whenever AnyTrack trigger an OutboundClick event, the script above will run as well and fire the pixel automatically.

Learn more about triggering postback and webhooks.

Last updated


Copyright Anytrack 2019