Posts Tagged: HubSpot Tips
Want to Receive Email Updates of New Articles About HubSpot Tips?
Join My Email NewsletterHow Do You Change the Primary Domain in HubSpot CMS?
Category: Common Questions
If you are looking to rebrand your website and change its domain there are a few steps you can take. You will most likely land on this HubSpot knowledge base article which outlines the steps but if you read it quickly you might miss a critical piece of information. At the very bottom there is… Read more »
How to Fix HubSpot Website Your Connection is Not Private or Your Page is Unavailable Not Found – redirect Apex non www
Category: Common Questions
HubSpot requires using CNAME to point a domain to their server using a subdomain. This means you still have an A record to worry about. The www in your www.yourdomain.com is a subdomain and not a root domain that does not have the www. It is the same as blog.yourdomain.com or mail.yourdomain.com. In order to fix… Read more »
How to Link to Module Fields to Theme Images in HubSpot Themes
Category: Code Snippets
When building HubSpot themes you often want to have default images referenced from inside your theme folder. You would think adding a relative link would work but you actually need to add it inside this hubl function to get it to work get_asset_url() Learn more about building custom modules in HubSpot. “default” : { “src”… Read more »
How to Update Navigation Menu in HubSpot Content Staging
Category: Code Snippets
When using content staging in HubSpot you can easily test and preview design changes but the menu does not update to use the new staging domain. So you have to preview each page individually. This can be an issue when you are working on a HubSpot website rebrand and the client needs to click through… Read more »
How to Have a HubSpot Menu Load the Default Menu When Transferring to Another Account
Category: Common Questions
Problem: When transferring a HubSpot theme or template file to another portal global module’s menu disappears. The code snippet below sets the default menu tag to pull a default if it is not selected. {% set menu = module.menu is truthy ? menu(module.menu) : menu(‘default’) %} {% menu “menu” %}
HubSpot Themes vs Templates – What is the Difference?
Category: Common Questions
Previously it was possible to download HubSpot template packs from the HubSpot marketplace. These were a collection of landing page, website page, blog, and email templates. The downside of these packs is they did not share any unified settings and they were not very portable between accounts. Now a group of templates, custom modules, and… Read more »
HubSpot onFormSubmit and Other JavaScript Events
Category: Code Snippets
When embedding a HubSpot form using the JavaScript script tag it is common to want to apply some of your own functions after the form has submitted. This can be used for adding conversion pixels for Google Ads and Facebook after the form is submitted. Another use case is modifying the form markup after the… Read more »
Top Freelance HubSpot Developers, Designers, & Companies in the USA | Hire a HubSpot Expert Today
Category: Articles
Are you looking for a freelance HubSpot developer or HubSpot CRM specialist? Below is a list of the best freelance HubSpot experts I recommend. Hiring a HubSpot website developer is ideal for smaller projects where you need to hire a specialist for HubSpot design or development and don’t necessarily need an entire team of people… Read more »
How to Add Retina Images to HubSpot Email and Page Templates
Category: Code Snippets
HubSpot CMS handles responsive images by default by creating different image sizes for different screen widths (using srcset). But with retina display images, you want to load higher resolution images and scale them down to 100%. Thankfully you can add ?noresize to the end of your image source to disable this dynamic resizing. In the… Read more »
How to Trigger HubSpot Popup Form on Button Click or Page Load
Category: Code Snippets
HubSpot provides the ability to display a pop up form with various triggers (exit intent, after 7 seconds, etc.) But what if you want to show it immediately or when a button is clicked? Below is some javascript to help achieve this functionality. How to use this script Create pop up form Set targeting to… Read more »