Hello,
We’ve recently introduced the option for customers to track packages by clicking a ‘TRACK MY PARCEL’ button into the emails, but when pulling through the URL I’ve noticed Hubspot is redirecting customers towards the courier’s homepage rather than directly to the parcel.
For example, the URL is being populated with a link that could be something like:
trackingcompany.com/trackmyparcel/#123456
Which directs the customer directly to that specific shipment. This works when introducing the URL as plain text perfectly fine.
When trying to link from a button or an image, however, it seems like it’s only directing customers to:
trackingcompany.com/trackmyparcel/
So the customer still needs to manually enter their tracking ID on the website. Is there a way around this, or is this happening due to the way Hubspot is shortening/formatting URLs in the recipients’ inboxes?
Thanks
Hi @RGraceMorgan ,
That’s strange
, the reason might be missing property values and fallback values can be empty space.
HubSpot personalization with button and images works same as bare URLs (inbox or URL shortening doesn’t matter): Personalize links in marketing emails
Kindly make sure there’s a filter in place to check if the said property is known for the sending list/automation.
Also, not sure about this but using “#” as parameter in URL will land you to a page anyhow, can you try without “#”, just the tracking number. If the URL only works with “#”, then leave it.
If this helps, feel free to mark it as the solution
and give it an upvote
!
Hi @RGraceMorgan
The issue happens because the # part of your link (called a fragment) often gets cut off in HubSpot’s buttons. If your courier supports it, switch to ?tracking=123456 instead. Otherwise, use a custom link in a rich text block to keep the full URL intact.
Reference doc on how to do it: Insert a link in a rich text module
Hope that helps!
Hi @RGraceMorgan,
Try using a HubSpot CTA instead of the standard button module. CTAs sometimes handle personalization tokens and tracking URLs more reliably, especially when dealing with redirects or unique tracking links.
It’s definitely worth testing in your case just make sure to preview and send a real test email to yourself before going live.
Let us know how it goes!