Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.
The Tags Manager app is a central place to manage marketing tags such as Web analytics, third-party content and advertising network code snippets. The app allows you to create tags and place them on pages. Magnolia 5.3+
For more information about what marketing tags are and how they are used, see:
The Tags Manager app is installed by the Marketing Tags Manager module. The app is configured at Configuration >
The app operates on the
tags workspace where the code snippets and their details are stored.
The Marketing Tags Manager module registers a custom
mgnl:tag node type. The Tags Manager app operates on nodes of this type.
In tag properties, define a name for the tag and indicate where in page HTML it should be inserted. Usually the provider of the tag will specify where the tag should be added. If not specified, the safest is probably the
head element. If the tag takes a long time to load and delays page rendering put at the end of the body. Optionally you can also define a dashboard URL for viewing the information collected by the tag.
Choose which pages to add the tag. Check the Insert in subpages box to insert the tag on all pages in a site branch.
<script> window.alert("Hello Magnolia!"); </script>
Publish the tags from the author instance to the public instance.
Visit the website of the service that provided the tag in order to view the information collected by the tag. You can view the information in a separate browser window use the Tags Manager app. Click the Show provider dashboard action.
This example shows a Clicky dashboard. You need to be logged into the analytics service to see the dashboard.
Some dashboards such as Google Analytics cannot be displayed in a subapp. Google explicitly specifies in their headers that a dashboard cannot be displayed in an iFrame (
x-frame-options: SAMEORIGIN). To get around this limitation, click the link at the top of the subapp to open the dashboard in a new window.