Hubspot Manual
Hubspot Manual
Hubspot Manual
Performance to Grow
Traffic and Leads
The Complete Guide
Built by
1 Introduction
7 Conclusion
40%
of people
85%
of people
50%
of global internet
activity
will leave your page if it takes won’t browse your site is done on mobile
longer than three seconds if it’s not secure.
to load.
This means that for every second that your website takes to load, people abandon your site.
If your website’s mobile experience isn’t intuitive, users won’t explore it.
If your website has security issues, good luck getting your visitors
to trust your checkout process.
You’ve already found your website performance issues by scanning your site on
Website Grader
Improving
your web page, and how to reduce the workload of your
server to build a website that performs at its best.
• Visibility on Facebook
just a technical concern. Usability is how efficiently and easily visitors can see or
examine your website.
Website Performance Affects:
How does usability impact performance?
• The accessibility of your site
If your website or its elements take too long to load, it is
• The usability of your site inherently less usable. Things like the navigation, menus,
• Your web design content, images, videos, hyperlinks, forms – all those
things impact a website’s usability. When you include
What is accessibility? these on your website, you need these features to be
optimized to perform their best to offer great usability.
Accessibility is the availability of a website and its
contents to all people.
and selling new and secondhand goods. a 63% increase in traffic. That’s a drastic increase in traffic
that’s happened because they took the time to improve
their website’s performance.
Compression replaces repetitive pieces of code with • Removes all strings that are repeated.
AMANDA RAINES
Head of B2B Marketing, ClassPass
Elements
For those of you who are self-hosting your website, this is
where you’re going to want to work with your web expert.
What about page size?
How can you enable compression?
Let’s dive into the specific elements on a webpage that
Compression is enabled by adding code to a file called impact page size.
.htaccess on the web server.
What is page size?
.htaccess files can be used to alter the configuration of
Page Size (Page Weight) is the overall size of the block of
your server to enable or disable additional functionality
stored memory that makes up a page.
and features, including compression.
Reduce the overall size of the page to increase the load
To learn what code needs to be added to your .htaccess
speed.
file, check out the guide. This walks you through what
code needs to be added for a variety of servers. Minification and compression reduce the overall size of
your HTML, CSS, and JavaScript files. But what about the
Minification and compression are two elements that these files actually include?
solutions to reduce your page size.
Here are a few best practices for optimizing the elements
They perform their best when they work together. By on your web page to reduce the page size.
removing extraneous code and marking duplicate
• Optimizing Web Page Elements
strings, your web page will have smaller file sizes which
• Use Google Fonts instead of custom fonts.
means a faster load speed. • Use existing video hosting solutions.
• Compress your images.
• Make your images responsive.
What is caching?
Optimizing your web page for the first render is one
thing, but how can you avoid time-consuming queries
Caching benefits both content consumers and content
in the first place? Well, that’s where caching comes into
providers.
play. Caching is the process of saving resources to be
reused. The Benefits of Caching:
For website optimization, there are two types of caching: • Decrease network costs by reducing requests to your
server.
server side caching and client side caching
• Improve responsiveness by making your website
faster for browsers to retrieve.
Server Side Caching • Content will be continuously available even if you
experience server outages.
The server saves the result of a single render and serves
that same result when it is requested again. Most elements of a website can be cached: Including
logos and images, CSS stylesheets, JavaScript files,
media files, and so on. Setting up caching for your
website depends on the CMS that you’re using. For the
HubSpot CMS Hub, server and client side caching works
automatically without any additional plugins required.
Enhancing
In this lesson, you’ll learn how to set up a sitemap for
your website so search engines can index your pages.
Plus, we’ll cover how to write and edit effective meta
Website Think about the last time you visited a website. Imagine
this scenario. You think to yourself: “I wonder when the
first Olympics were?” So what do you do? You take out
your phone and ask Google. You immediately learn
that it was way back in April of 1896. How did Google
know which article to show you first that immediately
CHAPTER TWO
answered this question? That’s on-page SEO at work.
because it helps search engines understand your
website and its content. Elements of on-page SEO,
including meta descriptions and link text, helps crawlers
understand what your page is all about. A web crawler
(Spider or Bot) downloads and indexes content from all
over the internet to learn and understand the contents
What is on-page SEO?
of a webpage so that that information can be retrieved
On-Page SEO is the process of optimizing various when it’s needed.
front-end and back-end components of your website so
Search engines are putting a greater focus on intent and
that it ranks in search engines and brings in new traffic.
relevance with ongoing algorithm updates.
Merely creating and publishing your website isn’t
enough. You must optimize it for Google and other Search Engines Are Doing a Better Job
search engines in order to rank and attract new traffic. It’s of:
called “on-page” SEO because the tweaks and changes • Understanding what users are actually searching for
you make to optimize your website can be seen by when they type a query.
visitors on your page, whereas off-page and technical • Delivering search results that meet user intent, like
SEO elements aren’t always visible. Every part of on-page searching for information or making a purchase.
SEO is completely up to you; that’s why it’s critical that
Great, so on-page SEO is a clear must-have for visibility
you do it correctly.
in search engines.
complicated, but it’s actually pretty that your search did not match any results. If no content
What is a sitemap?
A sitemap is a file of code that lives on your web
server and lists all of the relevant URLs your website
is carrying. Your sitemap helps search engine web
crawlers understand how your website is built so they
can evaluate and rank it more easily. XML sitemaps are
designed specifically for search engines like Google.
Google needs to be able to find webpages anchored
within a website no matter how old or deeply nested
We see that HubSpot has 217,000 pages currently being
they might be in that website’s domain. For this reason,
indexed by Google. This isn’t going to be an exact
an XML sitemap is a crucial component of a blog, where
number, but it will at least give you an idea of how many
article pages are constantly bumped further back into the
of your own pages are currently being indexed.
website’s archive as new content is published.
What if no pages are being indexed by Google? If no
An XML Sitemap Includes 4 Key Elements, within the involved in creating a sitemap.
<url> tags.
Though, you’ll want to ensure that the navigation
structure is correct. The structure of your website plays a
big role in your site’s SEO, so it’s important to plan your
top-level navigation structure carefully. Pay attention to
your website’s depth. The further away a page is from the
original homepage URL of your site, the worse it is for
that page’s SEO.
Monthly, Weekly, Daily, Hourly, or Always. go through a significant site redesign, someone on your
team will have to submit the sitemap to each search
• And page priority is a number 0.0 through to 1.0
engine so that they can tell your homepage from your
to indicate the relative priority of pages within your
“About Us” page or your team management page. Unless
website.
Optimize Your Website Performance 29
you’re using a platform that automatically updates your Screaming Frog is a web crawler that allows you to
sitemap, you’ll need to update the sitemap yourself and assess your website’s on-page SEO.
resubmit any time you make significant changes to your
The company offers a tool to develop your own XML
website. Otherwise, you’ll have to wait for search engines
sitemap and strengthen your website’s on-page SEO in
to identify, crawl, and index your new pages itself. That
the process. To use Screaming Frog’s sitemap generator,
means if you’ve made a really significant change to your
you’ll first download the company’s SEO web crawler,
site’s structure, you might want to manually submit it.
which is free for crawling your first 500 URLs. Once your
website is crawled, you can create an XML sitemap from
Luckily, most content management systems and web
it including every webpage that scores a “200” in the
hosting providers provide you an XML site map. Once
initial crawl. This ensures only your strongest pages are
you build your site architecture and publish your pages,
included in your new XML sitemap.
the XML sitemap file autogenerates and you can submit
that file to Google. The tool XML-Sitemaps.com requires no registration
or initial download to create a sitemap for your
Using the HubSpot CMS Hub makes this easier. HubSpot website.
will automatically generate your XML sitemap file when
This tool is free to websites that carry up to 500 URLs.
you publish new pages and make changes to your site.
Once your sitemap has been created, you can either
To create your XML sitemap, there are a few free download it as an XML file or receive it via email if you
solutions, including Screaming Frog and XML-Sitemaps. need to transport it to a new computer or coworker. The
com. paid version of XML-Sitemaps.com allows you to crawl
up to 1.5 million pages and create other forms of XML
sitemaps — such as news, video, and image sitemaps —
and submit your sitemap directly to a search engine from
the sitemap generator.
Descriptions
When you conduct a search, how do you decide
which result to click on? The page title and the meta
description probably play huge roles in deciding that a
resource is helpful to you. In this video, we’re going to
learn how to write and edit your meta descriptions.
The #1 organic result is 10x more likely to receive a click webpage when you share it with your followers. The
compared to a page in #10 spot. open graph includes a meta description. People on social
media can see your meta description.
The #1
organic result
To get your resultisto10x
rankmore likely you need people
well, however, The meta description for this page is “These 5 Trails In
to start clicking ontoit.receive a click entice people to
Meta descriptions Massachusetts Will Lead You To Extraordinary Ancient
click on your link instead of someone else’s. Great meta Ruins” and it appears at the bottom of the Facebook
descriptions can be powerful enough to get people to post. Your meta description doesn’t just drive search
click on your link even if you are below them in search engine traffic.It drives social media traffic, too.
results. A meta description gives the right people the
right information at the right time
Optimize Your Website Performance 33
Now that you know why you should write a meta of each page. Don’t stuff keywords anywhere you can.
description, here’s how to write an effective one. Make sure they fit naturally and help explain what
people can expect to see if they click on your link.
Best Practices for Writing a Meta
Description Aim for 155–160 characters in your meta
description. The number of characters that make up
• Write compelling content.
your meta description is important. But when actually
• Include one or two keywords.
• Aim for 155–160 characters. displaying this metadata, Google doesn’t measure by
• Avoid non-alphanumeric characters. characters — it measures by pixels. Your meta description
will be cut off if it becomes too long. Aim for 155–160
First, write compelling content. Write a short sentence characters in your meta description as a benchmark.
previewing the content or telling the searcher why they
should read your post. Give them a clear benefit of Avoid non-alphanumeric characters. Special
clicking through and reading your post, if necessary. characters might appear just fine on your computer
When writing your meta description, be informative and screen, but search engines can’t read these symbols
add value.The meta description is your chance to convey as easily. These are known as “non-alphanumeric”
the value of your page to the viewers. Use one or two characters. Avoid using special characters like plus signs
keywords in your meta description. You might already (+) and em-dashes (—) in your meta descriptions. Special
include keywords in a webpage’s body copy and title. But characters often don’t appear in the search results as you
the meta description should also include keywords that intended. And they may be removed all together.
help describe the content of the webpage.
Want to test out how your meta descriptions will
Keywords in your meta description optimize your look before setting them live?
content to match with related search queries. Focus Check out the SEOmofo snippet optimizer tool.
on one or two unique keywords in the meta description
Optimize Your
and understand the best practices for using fonts and
interactive elements on your site.
CHAPTER THREE
40%
of people
85%
of people
50%
of global internet
activity
eave your page if it takes won’t browse your site is done on mobile
nger than three seconds if it’s not secure.
to load.
Desktop follows behind with a little over 45% of the How does responsive design work?
total internet activity and tablet makes up the rest. With
A website targets the size of the browser to match
so many people surfing the web from their phones, it is
how much space is available to display the website
essential to offer a great mobile website experience today.
appropriately. Setting up viewport as well as using
Without it, you are not catering to the majority and are
legible fonts and correctly-sized target tags all fold into
likely missing out on traffic and leads for your business as
an effective responsive design. And, breakpoints are
a result.
set up to target ranges that define specific displays. For
example, you generally see breakpoints for phones,
So how do you create an effective
mobile experience? tablets, and desktops.
Follow mobile optimization best practices for viewport, What about just creating a seperate website
fonts, and buttons. That’s where a responsive design version for mobile?
comes in. Responsive design is the method of designing
Marketers — Don’t create a separate mobile version of
webpages that appear in their optimized form on
Z your website. It will require a lot of resources to maintain
all devices. In other words, a responsive design will
in the long run. That’s where having a responsive design
automatically reformat your website for all screen sizes.
adds a ton of value — it is easier to manage one site that
This allows your website visitors to easily interact with your
works for all devices.
site no matter what device they’re using.
When you don’t set a viewport for mobile devices, those Add a meta viewport tag to any and
devices will render a webpage at the width of a typical
all webpages you would like to be
desktop screen and then scale to fit the screen so that
mobile-friendly.
the text and graphics are super small. This is called the Add This HTML Snippet to the Header of Your Site
“fallback width.” The fallback width ranges from 800–1024
<meta name=viewport content=”width=device-width,
pixels. These dimensions automatically update when you
initial-scale=1”>
do set a viewport for mobile devices.
You can copy and paste this HTML.
The webpage’s width will scale automatically to a user’s
Check out the blog post about how
mobile device, giving them a much better experience.
to set up a mobile viewport in the
resources.
Check if you have viewport configured already
Usually, placing the viewport tag in
To check, head on over to the Website Grader included
the header file will have the viewport
in the resources. If your viewport is not configured, the
carry across the whole site. This
tool will tell you.
makes your entire website more
font size of at least 12px or larger on the majority of your Now that you understand how font size works within the
page. CSS of your site, there are a few solutions to choose from.
• Padding
• Margin
Each of these blue hyperlinks are considered a tap target. Use formatting
rules to make each link clickable on mobile. Most mobile optimization issues
can be solved with a responsive design. But it is a lot to ask to audit every
single element on your site.
By following the best practices for your fonts and tap targets
on your page, your website will be easy to read for people
on mobile and will offer a user experience that allows people
to actually engage with the content on your site.
Website Security
85% of people will not continue browsing if a site is not
secure. Think about that — 85%. Imagine the traffic, leads,
and revenue that you would lose as a result.
CHAPTER FOUR
40%
of people
85%
of people
50%
of global internet
activity
will leave your page if it takes won’t browse your site is done on mobile
longer than three seconds if it’s not secure.
to load.
Would you visit a website after seeing a security warning But big businesses are not the only ones who are
like this telling you that your connection is not private? susceptible to data breaches. SMBs and ecommerce
businesses are at risk online. Organizations providing
online services, like ecommerce companies, contributed
to the largest number of compromised credentials at
over 2 billion (Source: Digital Main St.)
Vulnerabilities applications.
Have you ever noticed that some URLs start with “http://” I won’t go into detail about the technical differences
and others with “https://”? between SSL and TLS But just know that in many ways,
TLS has superseded SSL. TLS is newer and arguably
What is the extra “s” for in https://?
more secure. But don’t worry, the certificates you used
to implement the TLS and SSL protocols are often
Perhaps you noticed that extra “s” when you were
interchangeable. So from here on out, we’ll look at
browsing websites that require giving over sensitive
solutions for SSL and TLS together since they’re often
information, like when you were paying bills online. To
one-in-the-same.
put it simply, the extra “s” stands for secure. This means
that your connection to that website is secure and
Both of these technologies make sure that all data
encrypted. Any data you enter is safely shared with that
passed between the web server and browser are private.
website.
When you fill out a form on an unsecured website and
The technology that powers that little “s” is one of two hit “submit,” the information you just entered can be
technologies: SSL or TLS. intercepted by a hacker. This information could be
SSL (Secure Sockets Layer) is the standard security anything from details on a bank transaction to high-level
technology for establishing an encrypted link between a information you enter to register for an offer. In hacker
When You Visit a Website That’s Encrypted: In your web browser, you’ll be able to tell if a site is
secure because it will say “https://” and you’ll see a little
Your browser will form a connection with the webserver,
padlock icon in the URL bar.
look at the certificate, and then bind together your
browser and the server. This binding connection is
secure. That means no one besides you and the website https://www.google.com
you’re submitting the information to can see or access
what you type into your browser. This connection It’ll show up either on the left- or right-hand side of the
happens instantly, and in fact, many suggest it is now URL bar, depending on your browser. You can click on
faster than connecting to an unsecure website. the padlock icon to read more information about the
website and the company that provided the certificate.
Even if a website has the “https://” and a padlock icon,
the certificate could still be expired — meaning your
From there, you will need to navigate to the Security tab First, check with your web hosting provider to see if
and you can see if the SSL certificate is valid or expired. they offer a free SSL certificate. Chances are they might
If you click the “View certificate” button, you will be able offer you one for free. But if not, we encourage you to
to see more information about the SSL certificate and the purchase an SSL through your hosting provider because
specific date it’s valid through. they usually have the easiest solution unique to your
needs.
For most, a standard certificate will cover your content, Free Certificate Solution
but for companies in a regulated industry — such as Let’s Encrypt offers certificates at no cost, but the setup
finance and insurance — it may be worth talking with your is technical; that’s why we suggest starting with your
IT team because there are specific requirements within hosting provider first. You’ll probably need to work with a
your industry that specify the type of SSL certificate you web expert to get an SSL set up with Let’s Encrypt. These
need. The cost of certificates vary. certificates expire regularly, so you’ll need to make sure
they stay up to date.
into more advanced certificates that offer longer time migrate your site.
WordPress Plugins
vulnerabilities
• Stop using vulnerable JavaScript libraries immediately
should avoid at all costs. To find which JavaScript libraries are causing you trouble,
we recommend following Google’s resource.
Front-End JavaScript Library is a library of prewritten
JavaScript which allows for easier development of
JavaScript-based applications. Security is practically a requirement today online.
with Website
memorable experiences, and take a look at some
examples of website personalization in action.
Personalization
The Importance of Website Personalization
CHAPTER FIVE
For example, The Weather Channel shows you the Today, people expect a lot from websites. They
weather in your location immediately. aren’t satisfied by sites that act as digital brochures.
Now, consumers want websites to provide dynamic,
personalized experiences that are tailored specifically to
their needs.
Stitch Fix determines your style and provides fashion What is personalization?
recommendations.
Personalization is the tailoring of messages or offers to
individuals based on their actual behavior.
Conclusion
related issues to your team will help your business
capture more traffic, convert more visitors into leads,
and show opportunities for growth that may have been
hidden. We can’t wait to see what the future holds for
you and your new optimized website.