Skip to Content
 

DNN Guide Google Analytics and Tag Manager

Clarity eCommerce - The eCommerce Platform to Scale and Grow Your Business
A Guide About DNN Google Analytics & Tag Manager Integration

Understanding the Power of Analytics

Google Tag Manager short for GTM is a content management system that lets a website owner implement various HTML scripted items into his/her site without having to modify individual parts of the website. With this tool, you can manage your website and integrate various script-based tools with no code editing involved. You get to effect changes without interfering with the underlying system.

In simple terms, Google Tag Manager offers you a faster and more efficient way to add various HTML tags even when you are not a web designer. It makes editing your web pages easier since you do not need to start messing with code. A typical example is adding an Html widget that allows you to track page views on your website.

DNN analytics, on the other hand, does practically the same thing, even with far more ease. Nonetheless, people still like to integrate the Google Tag Manager tracking script with DNN analytics. The main reason this occurs is that it offers a great way to organize their Google Analytics dashboard. In this article, we will analyze the path you need to integrate your DNN analytics with Google Analytics and Google Tag Manager.

Aggregating your website Analytics

Google Analytics Integration with DNN Analytics

Your business website yields an extensive array of data that may be useless if not collected and analyzed adequately. Proper data utilization is necessary for the improvement of your business in the long run. Here is where Google Analytics Integration with DNN Analytics comes in. The process of integration is relatively easy; all you need to do is follow these simple steps below:

  • Sign in to your DNN account as the Administrator
  • Locate the settings logo
  • Select “connectors.”
  • Here you will notice the “Google Analytics” tool with an additional “Connect” option
  • Select the Connect option and a drop-down menu with open up
  • Enter your Tracking ID. You can leave out the URL unfilled
  • Uncheck the “Track for Administrator” option and hit the save button
  • Connectors panel can be closed as soon as it saves
  • You can then check to see if the code is running correctly on your Google Analytics account

You should know that as long as you log in as either an Admin or Superuser, the code would not turn up in the source if you deselected “Track for Administrators”. It is essential to use another browser to confirm the code is present in the source. Note that the steps we have just outlined above are the way you can integrate your Google Analytics account with DNN analytics. Google analytics has earned its title as one of the most globally used website application.

Most cooperation’s and companies utilize this tool. The integration of Google Analytics and DNN analytics results in the increased effectiveness that will be beneficial to you. In the next section, expect us to explore the implementation of Google Tag Manager with DNN analytics. If you have an interest in Google Analytics integration with DNN, you will also benefit from learning how it operates as well as the application of Google Tag Manager.

Efficient, Performant, and Suprisingly Easy to Do

Implementation of Google Tag Manager With DNN Analytics

Before you go any further in implementing Google Tag Manager with DNN analytics, observe the following path to change the Tracking ID to access Google Tag Manager. /Root/SiteAnalytics.config is simply a general pathway for your tracking ID. Any modification you make to this pathway affects everything under it. To make changes to this file path, you will need FTP connectivity. Since this file, by default uses Google Analytics code, you need to change it to the Google Tag Manager code.

As we pointed out earlier, changing your path file from Google analytics to the Google Tag Manager code may mess with all other portals registered under the path. Make sure to carry out research and make up your mind before going ahead. Except you are entirely sure you want to make this transition, then you are on track. Let us move on. Take the following steps to set up Google Tag Manager with DNN:

In DNN 6 or newer version, you can load the Google Tag Manager Code unto the website using Google Analytics module. Now, head over to Admin and access Google Analytics to input your Google Tag Manager ID. There are three things you need to edit:

  • Edit the line that reads like this <ElementId>Head</ElementId> and replace “Head” with “Body.” It will now look something like this: <ElementId>Body</ElementId>
  • Edit the line that reads thus <InjectTop>False</InjectTop> and replace “False” with “True.” It will now look something like this: <InjectTop>True</InjectTop>
  • Now delete all Google Analytics code and replace with your Google Tag Manager code between the <![CDATA[ and closing ]]>

For your account number, remove the GTM-xxxxxx and input [TRACKING_ID]. Take care not to remove the quotation signs.

  • As soon as the DNN platform loads the page, the Google Tag Manager [TRACKING_ID] shortcode will be updated.
  • Now you can go ahead to click save. It is always advisable to change the name of the default SiteAnalytics.config file to something different. You can come up with something you consider safe. An example of a name you can use is SiteAnalytics.config-Orig.
  • Upload this new version of the /Root/SiteAnalytics.config file and head over to your web browser and load your website.
  • Reload the screen to confirm the source to ensure that the new Google Tag Manager code is in perfect working condition.
Clarity Ventures DNN Experts

Other DNN Articles & Resources

Back to top
Request a Quote
 
Please feel free to send any associated files to us at:
rfq@clarity-ventures.com
 
Privacy Statement | Terms of Use
Click anywhere outside this form to close.
Request a Demo
 
Please feel free to send any associated files to us at:
rfq@clarity-ventures.com
 
Privacy Statement | Terms of Use
Click anywhere outside this form to close.
Ask an Expert
 
Please feel free to send any associated files to us at:
rfq@clarity-ventures.com
 
Privacy Statement | Terms of Use
Click anywhere outside this form to close.
Newsletter
 
Please feel free to send any associated files to us at:
rfq@clarity-ventures.com
 
Privacy Statement | Terms of Use
Click anywhere outside this form to close.