Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...New to DNN - How do I place HubSpot verification code to header of all pagesNew to DNN - How do I place HubSpot verification code to header of all pages
Previous
 
Next
New Post
1/30/2017 8:07 PM
 

I need to know where to go in DNN 8.0 to add a code snippet, which goes in the header - like analytics and other types of code - for HubSpot tracking (free version of their software). It seems it should be pretty easy to do, I am not familiar enough to guess where to paste it.  (HubSpot Lead flows can be added to any page that uses HTML <form></form> tags in order to collect submissions)  Do I need to install an html module to achieve this? I did try it and got the code to verify but didn't see how to keep the module from showing to site visitors on the homepage so I deleted it. 

 
New Post
1/30/2017 9:42 PM
 

If you want to do this on all pages, go to the Admin/Site Settings page. Go to the second tab and find the 

HTML Page Header Tags:

Setting at the bottom of the page, put your content in there.


If you want to do it on only a specific page, you can do this via the Page Settings for that particular page.

Little Known Fact. At one point, HubSpot was built off of the DNN Platform, many many many years ago. Doubt much of that code remains in their system, but at one point it did.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
2/7/2017 3:22 PM
 

Thanks! I did not know HubSpot started off being built on the DNN Platform.  I've been immersed in HubSpot for the past several years and am new to DNN and trying to figure out how to use it.  I'm going to try out your advice to get the HubSpot code added and see how it turns out.  I hope I don't mess up anything.

 
New Post
2/7/2017 6:23 PM
 

In trying to do as you suggest here, I'm not seeing any tabs on the Admin/Site Settings page.  Beneath the label "site settings" is a section with a white background with nothing in it, then a section with a black background that contains the following: Newsletter, join our mailing list, about out company, get in touch, follow us which all seem to be aimed at editing the sites visible content.  This does make me think of plugins in wordpress, and the modules/containers in wordpress/divi theme settings. Do I need to add some sort of module or feature in this white section to be able to add the code?

 
New Post
2/24/2017 12:45 AM
 
Does this image help?! This is with DNN version 9.0.2.




 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...New to DNN - How do I place HubSpot verification code to header of all pagesNew to DNN - How do I place HubSpot verification code to header of all pages


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out