Last updated: October 13, 2020
If you are using an externally-hosted PDF, copy the PDF's URL from your file manager:
If WordPress is altering the embed code, you could use a third-party plugin to add the CTA to the page/post in the form of a shortcode. One plugin that allows users to insert CTA codes via a shortcode (therefore preserving the script tags) is Insert HTML Snippet. Another example of this kind of plugin is Shortcoder.
A HubSpot CTA tracks clicks by directing visitors to an initial URL which associates the click to the CTA, before redirecting them to the final page. This initial URL is the click tracking URL. The URL you include when setting up the CTA is still the URL visitors will ultimately be redirected to, but the click tracking is tied to the URL of the page where the CTA is embedded.
When a CTA is placed on an external page:
Sometimes the information from the CTA tool doesn't match up with the view/click data from the landing pages tool. There are a few reasons why this might occur:
Yes, you can use an anchor ID in the URL link of a CTA:
Please note: when using an anchor ID in the URL of a CTA, the page will reload before scrolling to the anchor. This is because CTA click tracking requires the page to load and redirect. If you would rather the page not reload, use an anchor link instead.
After clicking on a CTA, the URL in the address bar looks like it has many more characters (letters, numbers, symbols) than your landing page URL normally contains. These extra characters are the tracking code applied to the URL only after clicking on a CTA button.
It looks something like this:
This is not the new permanent landing page URL, but it is necessary to append these parameters in order to register views, submissions, and clicks for the CTA. The _hssc, _hstc, and _hsfp parameters are used for cookie tracking.The hsCtaTracking parameter is specific to CTA tracking. Learn more about these tracking parameters.
HubSpot's CTA tool gives users two options when editing the size of a specific CTA: automatic and fixed. If a CTA is configured to use fixed dimensions the button's background will be sized to those dimensions. In cases where the text area contains text that exceeds those dimensions (either by length or size) the CTA background is unable to adjust to fit the text. You can avoid this by reducing the size of the text on the CTA or by removing the fixed dimensions.
While you can create CTA buttons outside of HubSpot's CTA tool, it is not recommended. The advantages of using HubSpot's CTA tool include access to analytics data, click data, form submissions data, A/B testing (Marketing Hub Professional and Enterprise only), and an embed code that keeps your existing CTAs up to date.
Yes, there is no limit to the number of CTAs that can be used on a page.
This is caused by an additional anchor tag surrounding the CTA token within the source code. In order to resolve this issue, you will need to remove the anchor tag surrounding the CTA, leaving only the CTA token.
Assets across HubSpot can be partitioned so that only the right teams and users can view and edit them. This...
You can add HubSpot Video to your content on your pages, blog posts, and knowledge base articles in a rich...
Use calls-to-action (CTAs) on your website pages and emails to attract new leads, convert existing leads into...