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
- Navigate to your EZmob dashboard at Postbacks.
- Select the Image Pixel tab.
- 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_idparameter is dynamically replaced with the actual click ID captured by your tracking setup.
Step 4: Test Pixel Firing
- Visit your conversion page where the pixel has been implemented.
- 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_idparameter.
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
srcURL is correctly formatted and that theclick_idparameter is properly replaced. - Ensure that the pixel code remains unaltered during page edits.
#
Related Articles
- Setting Up Conversion Tracking with Postback URLs
- Troubleshooting Conversion Tracking Issues
- Track conversions with EZmob Pixel
- EZmob Publisher : Getting Started
- Welcome to EZmob's advertiser interface
Updated on: 04/11/2025
Thank you!
