Articles on: Conversion Tracking & Postbacks

Image Pixel Tracking Implementation

Image Pixel Tracking Implementation on EZmob


Image pixel tracking is a client-side conversion tracking method that is useful when server-to-server postbacks are not feasible. This guide will assist you in implementing image pixel tracking on your website to ensure accurate conversion tracking through the EZmob platform.



Implementation Guide


Step 1: Copy Pixel Code from EZmob


  1. Navigate to your EZmob dashboard at Postbacks.
  2. Select the Image Pixel tab.
  3. Copy the provided pixel code.


Tip: Consider adding a screenshot of the Image Pixel tab highlighting the pixel code copy area for visual guidance.



Step 2: Understand Code Components


The pixel code consists of an <img> tag and may include optional JavaScript logic for enhanced tracking. The src attribute of the image tag contains the URL to the pixel, along with parameters for tracking conversions, such as {click_id}. This parameter will dynamically replace with the actual click ID when the pixel is activated.


Example Code:

<img src="https://tracking.ezmob.com/pixel.gif?click_id=YOUR_CLICK_ID_PARAMETER" style="display:none;">



Step 3: Implement on Conversion Pages


  • Paste the copied pixel code into the HTML of your conversion page(s), ideally just before the closing </body> tag.
  • Ensure that the click_id parameter is dynamically replaced with the actual click ID captured by your tracking setup.



Step 4: Test Pixel Firing


  1. Visit your conversion page where the pixel has been implemented.
  2. Use browser developer tools (specifically the Network tab) to verify that the pixel.gif request is made upon conversion.


Tip: Adding a screenshot of the browser developer tools showing the pixel.gif request can enhance understanding.



Step 5: Verify Conversion Tracking in Dashboard


  • Go to your EZmob dashboard at Metrics to confirm that conversions are being accurately tracked.



Advanced Implementation


  • Conditional Pixel Firing: Utilize JavaScript to trigger the pixel only under specific conditions, such as a successful form submission.


Example:

  if (formSubmitSuccess) {
document.body.appendChild(pixelElement);
}


  • Multiple Conversion Tracking: Implement multiple pixels for different conversion types, ensuring that each has a unique click_id parameter.



Best Practices


  • Pixel Placement: Place the pixel code as close to the user action confirmation as possible to ensure accurate tracking.
  • Loading Optimization: Use style="display:none;" to prevent the pixel from affecting page layout or loading times.
  • Privacy Compliance: Stay compliant with privacy regulations by informing users about tracking practices and obtaining necessary consents.



Troubleshooting


  • If conversions are not being tracked:
  • Confirm that the pixel's src URL is correctly formatted and that the click_id parameter is properly replaced.
  • Ensure that the pixel code remains unaltered during page edits.



#




Updated on: 04/11/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!