Twixl Publisher allows you to integrate analytics in your publications.
How to add analytics information to interactive elements?
One the one hand, there is built-in support for analytics in the Twixl Distribution Platform (note that this works for issue-based and article-based apps only).
On the other hand, it is possible to integrate third party analytics:
- Google Analytics both in single- and multi-issue apps. To get started, you will need to create an account with Google first. Once you have an account, you can get a tracking code that you can then embed in the app.
- Localytics (in issue-based apps only)
If you want to make your analytics more readable, you can enter an analytics name for your interactive objects, such as slide shows, audio or video clips, and web overlays. If you don't enter your own analytics name, a default value will be used.
What information gets tracked ?
When you enable tracking of statistical data in your application, the following items will be tracked:
- Visited articles
- Visited pages inside articles
- Slides viewed on a page
- Movies and sounds viewed on a page
These items will be logged as "fake URLs" and will use the following structure:
Movies and sounds:
Slides that are part of an autoplay slideshow or movies and sounds that autoplay will not be tracked.
You can get started with Google Analytics here.
Setup for article-based apps
For article-based apps, see this KB-article.
Setup for issue-based and single issue apps (Build Settings)
When you add an app in Google Analytics, you will receive a tracking ID in the form of
UA-XXXXXXXX-X. You will need to enter this ID in the Build Settings for your app. You can either use the same key for iOS, Android and the Web Reader, or you can define separate keys for each.
On some accounts, apparently Google is pushing users towards using Firebase. If that's the case, please follow these instructions (Part 2) to add a normal Google Analytics Project.
For Localytics, which allows you to send messages to a subset of your readers, you can enter the keys for iOS and Android.