AnyTrack docs
🔗 Website🖐 Feature Requests⚙ Integrations👉 Sign up
  • Getting Started
  • Archive
  • docs
    • Advanced Settings
    • Elementor
    • Integrations
    • Taboola Integration
    • AnyTrack Guide to Conversion Tracking
    • The AnyTrack Tracking Code
    • Account Setup Tutorial
    • ⚒️Pixel & Analytics Integrations
    • Getting Started with AnyTrack
    • AnyTrack Core Features & Concepts
    • Conversion logic
    • AutoTrack
    • AutoTag copy from readme
    • AutoTag from Gitbook
    • AnyTrack Initial Setup
    • Google Tag Manager
    • Google Analytics integration
    • Enhance ROI: Facebook Postback URL for Affiliates
    • Facebook Conversion API and iOS 14 tracking restrictions
    • Affiliate Link Tracking
    • Form Submission Tracking
    • Form Tracking / Optins
    • Analytics & Reporting
    • Webhooks
    • Trigger Events Programmatically
    • Custom Events Names
    • Trigger Postbacks Programmatically
    • Redirectless tracking
    • Cross-Domain Tracking
    • Event Browser & Debugger
    • Fire Third-Party Pixels
    • Multi-currency
    • Frequently Asked Questions
    • Affiliate Networks Integrations
    • Partnerize integration
    • Affiliate Networks link attributes "cheat sheet"
    • Postback URL Parameters
    • ClickBank Instant Notification Services
    • Tune integration (AKA Hasoffers)
    • LeadsHook Integration
    • Frequently Asked Questions
    • Shopify Integration
    • Custom Affiliate Network Integration
    • Impact Postback URL
    • ShareAsale integration
    • IncomeAccess
    • HitPath
    • Phonexa
    • CJ Affiliates Integration
    • AWin integration
    • Pepperjam integration
    • Google Ads Integration
    • 💡Bing Ads server to server tracking
    • Outbrain Postback URL
    • Google Analytics Goals
    • External references & links
    • Google Ads Tracking Template
    • Google Analytics Goal Template
    • Affiliate network integration request
    • Troubleshooting guidelines
    • Convertri Integration
    • ClickFunnels Integration
    • Unbounce Integration
    • How AnyTrack works with link trackers plugins
    • Thirsty Affiliates
    • Redirection
    • Pretty Links Integration with AnyTrack
    • Difference between Search terms and search keyword
    • Facebook Server-Side API (legacy)
Powered by GitBook
On this page
  1. docs

Fire Third-Party Pixels

How to fire third party pixels for onsite engagements

PreviousEvent Browser & DebuggerNextMulti-currency

Last updated 1 year ago

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.

Example:

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="https://www.3rdpartypixel.foo/pixeltrack.pl?c=xxxx" width="1" height="1" />

Use the following script accordingly:

<script>
  AnyTrack('bind', 'OutboundClick', function() {
    AnyTrack('postback', 'https://www.3rdpartypixel.foo/pixeltrack.pl?c={click_id}');
  });
</script>

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