In this video we cover how you are able to add analytics code or embed custom code on your CCK website.
Add Code to Your Website and Pages
You can add custom code to your entire website or alternatively to a particular page only. It is important to note that should you add custom code to the Global Custom Code section, this will be available to your entire website. Adding Page Only Code will only be added to the particular page you are currently editing in the builder.
To add a custom code, navigate to Website Settings > Custom Code:
For Google Analytics, you are often directed to add the code to the Custom Head Markup or Custom Body Markup as shown below:
Custom Code for your website and pages are added to the Custom CSS and Page CSS areas as shown below:
Add Code Using the Embed and Code Widgets on Your Pages
You can also add Code and Embed Widgets to your pages and blocks as shown below:
We have found that some CSS works better when using either the Code or the Embed widgets, so you can try both options to see what works well for what you are adding to these widgets.
Simply click and drag the widgets to the page you are editing and add the Embed or Code into the popup as shown below:
Code Widget
Embed Widget
π‘ TIPS:
Should you want to add Custom Code to your Websites and Pages, we recommend that you only add this if you are experienced in how to use CSS.