Nov 11, 20226:44 AM - edited Nov 11, 20226:53 AM
Member
HubSpot signature will no longer work with Gmail
SOLVE
Hello,
I used the HubSpot free email signature template generator to create my signature. It worked perfectly for several months, and then one day, I decided I wanted to tweak it slightly. I went to upload the new signature into Gmail and I got an error message saying the signature is too long. I checked the source code and it's less than 9,000 characters; I understand the limit on Gmail to be 10,000, so what is going on? Why won't this work?
I've tried on Safari and Chrome. Both have had caches cleared and are up to date on the latest version.
I am attaching screenshots of the message and what the signature looks like in the generator.
Any help with this would be tremendous. I love the look of the signature so it's very frustrating that I can no longer use it.
I have tried this on iPad and MacBook. I even tried adding an HTML signature to Gmail, but it doesn't work as shown in the instructions provided by HubSpot.
Our product team has investigated this behaviour and it seems Gmail is adding on extraneous code after you paste in a signature. This extra code is artificially inflating the amount of characters present and thus causing this error.
While some users were able to paste the signature using a different browser (Edge, Safari, or Mozilla Firefox), there is also this workaround available which should work for Gmail users.
I had the same issue - I've spent the better part of the morning trying every tip highlighted in the thread. Surprise surprise - none worked, including changing the source code html on page.
I did eventually crack it. Google seems to think the HTML is too long, even though my code was under 10k.
Here's how I did it:
1. Minify the code using this code minifier. Simply copy the HTML code from your Hubspot generated signature & paste into the minifier.
I eventually got the signature to work, and it has been fine for months, but for some reason, the image stopped working in the signature yesterday. I tried creating a new signature using the Free Email Signature Template, but the photo doesn't work there either.
I had the same issue - I've spent the better part of the morning trying every tip highlighted in the thread. Surprise surprise - none worked, including changing the source code html on page.
I did eventually crack it. Google seems to think the HTML is too long, even though my code was under 10k.
Here's how I did it:
1. Minify the code using this code minifier. Simply copy the HTML code from your Hubspot generated signature & paste into the minifier.
Third party mail apps will also accept the signatures. I love using Spark and have both my personal & work email on there - signatures are easy to set up and you can quickly assign a signature to multiple accounts instead of manually adding it to each email account in the app.
Our product team has investigated this behaviour and it seems Gmail is adding on extraneous code after you paste in a signature. This extra code is artificially inflating the amount of characters present and thus causing this error.
While some users were able to paste the signature using a different browser (Edge, Safari, or Mozilla Firefox), there is also this workaround available which should work for Gmail users.
Seeing this gets me excited! I've followed the steps but have had a problem early on. I need help locating the child div inside the aria-label Signature. I have no experience with coding, so perhaps I'm being silly, but can you see it in the attached image?
For me, the code also looks a bit different from the example in the article, but I've managed to add my signature by replacing this piece of code here
with the code from the article like this:
I removed both curly braces when I pasted the HTML code of my signature. After that I've clicked on an empty space somewhere on the page so the code updated.
Looking at your screenshot, I'd say you can either paste the code in position 1 or 2. I'd test both to see what works best.
Unfortuantely after I have followed all of these suggested methods over the past couple hours - Gmail seems to delete the entire signature after I hit save every time...
I have no idea what is going on there - i have tried in both chrome and safari. Any way you can double check and see if there is something new preventing for the hubspot signature generator to work? 😞
I've given your suggestions a go and after several attempts, I think I've finally got it to work! I'm so happy! Thank you so much for your patience and help.
Got it, thank you for going through the additional troubleshooting steps @TBM1992 & @DScavone! I wanted to let you know that our product team is currently investigating this issue. I'll update this thread as soon as there is new information available!
Thank you so much for your reply and for the suggestions. I tried both, but I'm afraid it hasn't made any difference as I still get the same message saying the signature is too long.
I'm sorry to hear that you were not able to use the new signature. This is indeed unusual, as everything looks alright and your character count is below the 10,000 limit.
Could you please try removing one of the social icons or changing the size of your image, as suggested in this Community article? I realize that this is not an ideal solution, but it could help us pinpoint the issue.