Click Tracking

Document created by pubmatic-archivist on Mar 27, 2017Last modified by catherine.racette on Jun 7, 2017
Version 2Show Document
  • View in full screen mode

Note: This document supports a set of APIs for older integrations.

For accurate click tracking, the Demand Partner needs to provide a click tracking MACRO to be placed by name in the HTML URL/JS URL/custom ad tag, which will be replaced with the PubMatic click tracker.

Note: It is mandatory for the Demand Partners to provide the click tracking macro in the URL.

  1. Demand Partner passes a click tracker macro in the creative URL.
    Example:
    ${PUBMATIC_CLICK_TRACKING_URL}
  2. PubMatic replaces it with its click tracking URL (URL encoded string).
    Example:
    http://track.pubmatic.com/AdServer/AdDisplayTrackerServlet?clickData=US
    EAACUjAAC0FwAAEIBDtVjy8LWM1j0AAAAAADwAAADYAgAAWgAAAA
    UAAAACAAAAQUYwOUYzMjktQjAwMC00RURBLTk5MDQtQ0Q1NEQxQT
    QzOUM4AAAAAABOQ09MT1IAAAAAAE5DT0xPUgAAAAAATkNPTE9SA
    AAAAABOQ09MT1IAAAAAAE5DT0xPUgAAAAA=_url=
  3. User clicks the advertisement.
  4. On the click event, Demand Partner’s click tracker calls the PubMatic click tracking URL after appending the associated landing page URL to the click tracking URL
  5. PubMatic gets called for tracking click.
  6. PubMatic redirects to the associated landing page URL appended by Demand Partner.

 

Note: The macro name and the actual URL here are examples only and should not be used by demand partners integrating into PubMatic’s RTB service.

Attachments

    Outcomes