In the process of developing FirstSpirit, we constantly pursued a best-of-breed strategy, whose basic principle is using the best solutions for specific functions in every case. Logically, this means that it must be possible for third-party applications to integrate seamlessly into FirstSpirit.
The WebControlling module enhances FirstSpirit by including the analytical functionalities of the etracker web-controlling tool. This document describes the steps required to install and configure the module, explains the analysis capabilities of etracker, and shows how it is used from within FirstSpirit.
WebControlling provides editors with the following functions via etracker integration:
To integrate all these functions, etracker provides a dashboard and a scrollmap:
To use WebControlling, the following technical requirements must be met:
You can create the required etracker Pro account by filling in the relevant form on the etracker website. There are additional costs for using this type of account. |
Various components need to be installed and configured in order to use the functions supported by the WebControlling module. The following sub-chapters describe the steps required to do this.
The WebControlling delivery contains two modules that must be added to the FirstSpirit Server. To install the modules, open the ServerManager
and select →
.
The main panel contains a list of all the modules installed on the FirstSpirit Server. Click AppConnect-<VERSION NUMBER>.fsm
file provided first, followed by the WebControlling-<VERSION NUMBER>.fsm
file. Each time you make a selection, click to confirm it. Once they have been successfully installed, the AppConnect
and WebControlling
folders are added to the list and both must be given All permissions
.
The WebControlling module must also be configured. The steps decribing how to do this are in the next sub-chapter.
After any module installation or update, the FirstSpirit Server needs to be restarted. |
The WebControlling module makes it possible to log in to the scrollmap or the dashboard provided by etracker using single sign-on. To enable this, the AppConnect Connection which is deactivated by default needs to be activated in the WebControlling module service. The connection grants AppConnect access to the login details provided in WebControlling ProjectConfiguration
.
To configure the service, open the ServerManager
and select →
. Then expand the folder WebControlling for AppConnect
and select the service in this folder.
Clicking the Server properties
, and ServerManager
by clicking .
Once configuration is complete, the service must be stopped and restarted. |
A project-specific configuration is required in order to use WebControlling functions. It is set up using two project components, which must be added to the project in use. To add the project components, open the ServerManager
and select →
.
A list of all existing project components is displayed in the main panel. Click WebControlling ProjectConfiguration
and AppConnect ProjectConfiguration
in turn. Click each time to confirm your selection. The project components will be added to the list in the main panel and will then need to be configured. The steps required to do this are described in the next sub-chapter.
After project components have been installed, they need to be configured. To do this, open the ServerManager
and select →
. A list of all available project components is displayed in the main panel.
WebControlling ProjectConfiguration
Select WebControlling ProjectConfiguration
in the list and click to open the associated dialog.
The two mandatory fields in the dialog are for etracker login details, which the WebControlling module needs in order to link FirstSpirit with etracker. If the fields are left empty or the details are incorrect, a login page will be displayed when you try to call up the etracker dashboard or scrollmap. Enter your etracker login details and then click the button to close the dialog.
The etracker login details you provide will only be used if the AppConnect Connection is activated in the |
AppConnect ProjectConfiguration
After completing the above steps for WebControlling ProjectConfiguration
, select AppConnect ProjectConfiguration
in the list of project components and click to open the associated dialog.
The dialog has various configuration options for general settings and for using etracker in ContentCreator or SiteArchitect.
The |
Depending on whether you would like to use the dashboard or the scrollmap provided by etracker, you will need to enter one of the following in this field:
While the symbol is visible in SiteArchitect as a button in the menu bar, it is only displayed in the Configure actions
menu in ContentCreator.
The information you enter here also depends on which integration you require:
In both clients, the URL is used to call up etracker.
The entries in the |
At the same time as the connector is selected, the AppConnect Connection must be activated in the |
These sliders allow you to define the visibility of the button used to call up etracker in both clients. If visibility is deactivated for a client, this button will be hidden in that client and will no longer be available to the editors.
By default, visibility is activated for both clients.
Unlike SiteArchitect, which always displays the etracker page in the AppCenter, you can choose between two displays in the case of ContentCreator:
By default, the dialog display is activated.
In this field, you need to enter the etracker Tracking Code, which can be found in the Account overview
on the etracker page under the menu item →
.
If you would like to use the dashboard and scrollmap in parallel, the etracker Tracking Code must only be maintained for one of the two integration options. Otherwise, data entry problems will occur. |
The available variables can be defined in this code as required. The following extract shows an example of how the page name is used.
etracker Tracking Code.
<!-- Copyright (c) 2000-2018 etracker GmbH. All rights reserved. --> <!-- This material may not be reproduced, displayed, modified or distributed --> <!-- without the express prior written permission of the copyright holder. --> <!-- etracker tracklet 4.1 --> <script type="text/javascript"> [#if pageref??] var et_pagename = '${pageref.uid}'; [/#if] [...] </script> <script id="_etLoader" type="text/javascript" charset="UTF-8" data-respect-dnt="true" data-secure-code="123456" src="//static.etracker.com/code/e.js"></script> <!-- etracker tracklet 4.1 end -->
The field can also be used to enter code such as HTML, JavaScript, and style sheets, and you can add this code to any page template for the project in use. The field content can be integrated via a CMS VALUE expression, which must be added to the header of the page in use.
The Apache FreeMarker scripting language also allows you to enter complex expressions in this field. Furthermore, the module provides the webedit
, preview
, and pageref
variables so that it can retrieve context-specific information.
The AppConnect module has a web component. This component provides the functions in ContentCreator, so it must be added to the project in use, but it does not need to be configured any further.
Open the ServerManager
and select the ContentCreator
tab in →
.
A list of all existing web components is displayed in the main panel. Click AppConnect WebResources
and click to confirm your selection. The web component is added to the list in the main panel (see figure Web components).
If there is no active web server, it must be activated. Select it in the selection list, and start the installation by clicking
. After it has been successfully installed, activate the web server by clicking .If there is already an active web server, this simply needs to be updated by clicking
.Close Project properties
and the ServerManager
by clicking .
More detailed information on how to add web components is available in the FirstSpirit Documentation for Administrators. |
To compile the required statistics, etracker needs to be made aware of the URL for the project's live page. You can do this in the Account overview
on the etracker page under the menu item → →
.
While installing and configuring the various components, the fields that you need to complete include HTML Header
in the configuration dialog for AppConnect ProjectConfiguration
. You can use this field to enter the etracker Tracking Code and also insert HTML. To ensure the field content is applied, it must be integrated into the page in use. You can do this by placing the following CMS_VALUE
expression before the closing <head>
tag in the template you are using:
$CMS_VALUE(class("com.espirit.moddev.appconnect.extensions.Initializer").header(#global))$
The WebControlling module enables etracker to be seamlessly integrated into FirstSpirit. When the module is installed, its functions will be available in both clients. The following sub-chapters describe how it is used in each client.
If individual HTML is entered in the project component in addition to the etracker Tracking Code, it will be applied automatically to the appropriate page template.
The two integration options for etracker, which can be defined in the project component, are seamlessly integrated into the menu bar in SiteArchitect as additional buttons.
Click the button for the dashboard or scrollmap to open whichever one you wish in the AppCenter. Each integration opens in a separate tab. If one integration is already open in a tab, clicking on the button again will take you to that tab.
The integration options that can be defined in the project component are provided in ContentCreator via the menu →
.
Depending on the configuration, the dashboard or scrollmap will open either in a dialog in ContentCreator or in a new browser tab. If registration was configured using single sign-on, you will be forwarded to the dashboard or scrollmap automatically. Otherwise, the etracker login page will open first and you will have to enter your account details manually.
Unlike the dashboard, which provides an overview of various statistics, the scrollmap always refers to the page that is currently being shown. For this reason, its URL will always be transferred to the scrollmap.
The WebControlling module is a product of e-Spirit AG, Dortmund, Germany.
Only a license agreed upon with e-Spirit AG is valid with respect to the user for using the module.
Details regarding any third-party software products in use but not created by e-Spirit AG, as well as the third-party licenses and, if applicable, update information can be found in the file wfa-license-info.html
included with the module.
This document is provided for information purposes only. e-Spirit may change the contents hereof without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. e-Spirit specifically disclaims any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. The technologies, functionality, services, and processes described herein are subject to change without notice.