Marketing tags are snippets of code that you insert on Web pages. Tags typically collect analytics information such as how many visitors view the page and how long they stay. Tags can also integrate third-party content such as social media on your site or insert ad campaigns. You can use tags to learn more about visitors or provide content.
Since many of these tags require cookies to work, you can also link tags to cookies defined in the Cookies app. By linking tags to cookies, you can make sure the tags used on your website comply with data privacy rules.
Maven is the easiest way to install the module. Add the following to your bundle:
<dependency> <groupId>info.magnolia.marketingtags</groupId> <artifactId>magnolia-marketing-tags</artifactId> <version>1.4.3</version> </dependency>
Pre-built JARs are also available for download. See Installing a module for help.
Inserting tags in the Community Edition
The Marketing Tags module is an Enterprise Edition module. If you work with the Community Edition you can include code snippets on your pages as resource files.