diff --git a/src/MailTracker.php b/src/MailTracker.php index 45a2736..c3600fd 100644 --- a/src/MailTracker.php +++ b/src/MailTracker.php @@ -184,7 +184,7 @@ protected function injectTrackingPixel($html, $hash) $html = str_replace("\n", $linebreak, $html); if (preg_match("/^(.*]*>)(.*)$/", $html, $matches)) { - $html = $matches[1].$matches[2].$tracking_pixel; + $html = $matches[1].$tracking_pixel.$matches[2]; } else { $html = $html . $tracking_pixel; }