You’ve set up a new website in Sitefinity. Pages are finished, content is in place. Ready for the Web.
Did you remember your analytics?
Sitefinity has an Analytics module built into it. This module allows you to connect that new site to an analytics solution, and collect data on what your users are looking at.
All of our Web Development customers receive Google Analytics integrated into their new Sitefinity website. It’s free, tracks huge amounts of user data, and produces detailed reports to help your marketing.
How do you set Google Analytics up in Sitefinity? It’s very easy. Here’s the how-to.
How to Connect a Website to Google Analytics, Step by Step
*IMPORTANT! These steps can only be followed after you have created Page Templates within Sitefinity CMS. Make those first.
- First, register for Google Analytics if you haven’t done so already. Click this link for instructions:
Google Analytics – Register/Sign In
- Enter your site’s profile. Click the “Admin” tab.
- Click “Tracking Info” under the Property column (in the center).
- Click “Tracking Code”. You’ll see a new window with a block of code labeled “This is your tracking code.”
- Copy the entire code block. Save this in a text file if you want, but it’s not necessary. You’ll be pasting it into Sitefinity shortly.
- In another browser tab/window, log into Sitefinity’s Administration Dashboard.
- Click Design > Page Templates.
- Click on the first page template you’ll use on the website, to open it in Sitefinity Editor.
- Locate a content block near the bottom of the page. It does not have to be empty.
- In the Widgets menu on the right-hand side, click “Scripts and Styles” to open its menu.
- You should see a “Google Analytics” option.
- Click and drag “Google Analytics” into the block you’ve selected.
- You’ll see a line that says, “Set Google Analytics” in the new content block. Click it.
- A new window will open.
- Paste the Google Analytics tracking code into the new window.
- Click Save.
- Click the Publish button to save the template changes.
- Repeat these steps for any additional Page Templates you plan to use for your site.
Want to Add Another Analytics Engine to Sitefinity?
“What if I don’t want to use Google Analytics? I prefer Clicky/Piwik/etc.”
That’s fine. Most of the same steps still apply.
- Instead of using the “Google Analytics” option under “Scripts and Styles” in Step 10 above – you’ll use the “Java Script” option instead.
- You’ll see a box where you can paste in the Analytics tracking script.
- You’ll also see three options under “Where to Include in HTML?” below it: In the Head Tag, Where the Widget is Dropped, and Before the Closing Body Tag.
- Any of these options should work fine. Choose according to your site’s current design.
- Don’t forget to hit Publish when you’re done!
Google Analytics is Up and Running! Now What?
Sitefinity will now send its visitor data to Google Analytics (or the other analytics solution you prefer using).
*Important Note: This method works whether or not the Analytics module is activated in Sitefinity.
If the Analytics module IS active (You’ll see “Analytics” under the Marketing dropdown menu), please read Sitefinity’s documentation for assistance with it: Set Up Analytics – Telerik Sitefinity Documentation
Not sure how to make good use of Google Analytics data? These tutorials will help:
Get Started with Analytics – Google Analytics Help
50 Resources for Getting the Most Out of Google Analytics – KISSMetrics Blog
What kind of visitor data would you most like to gather from your audience? Length of time on the site? Which pages they read? Please comment or email with your thoughts. Both Google Analytics and Sitefinity can help you collect and make use of visitor data.