Tracking State (AKA Pages or Screens) in a Mobile app with the Experience Platform SDK
- Topics:
- Mobile SDK
CREATED FOR:
- Experienced
- Developer
States represent screens or views in your app. Each time a new state is displayed in your application, for example, when a user navigates from the home page to the news feed, trackState
can be called to send in the State Name (Page Name in Analytics), as well as additional data. This video walks you through how to do it.
Transcript
Hey everybody, this is Doug. In this video, I want to show you a very easy way to track exit links in Adobe Analytics using Launch. Now, exit links - just in case you don’t know what those are - are just links that take you off of your site. So, if you have a link to somewhere else, you can’t really put your code on the other page that’s going to load so you have to do it before you leave. You have to send that beacon into Analytics before you leave the site. So, in this case I have a little test page here that is tracked by Launch, and then I have a link to Adobe.com, for example, and that’s a different site than this, obviously. And so I want to be able to track clicks on that link to Adobe.com so that, in my data, I know how many times people have clicked on this link to go out to the other sites. And this is all based on a very simple configuration in Launch. So, let me pop over to Launch here and we are in the Extensions screen and Installed. I’ve installed the Analytics extension. I’m going to jump into that and I’ll scroll down a little bit to this Link Tracking section and now all you really need to do is look at this Outbound Links section and Track outbound links. That’s pretty much it as far as getting it up and running. Now, there’s a couple of things you can do here as far as Track and Never Track. If you have a very basic implementation, then you won’t need these at all, but you might need them in certain cases and you look at Never Track, it says that Links defined here will not be treated as exit links. Now, if you have a link on your site that goes to another page on your site, on the same domain, let me say it that way, then you don’t need to put those here. By default, they will not be tracked as exit links. But let’s say you have A.com and B.com and they are feeding data into the same report suite. If your links might go to those other domains, back and forth, then you don’t want those to be treated as exit links. You want them just treated like all one big, happy family. So, in that case, you definitely would put both of them here: A.com and Save that, and then add B.com and Save that. Now, any links in this property, when they click out to A.com or B.com, will not be treated as exit links. They will be treated as internal pathing from one of your pages to another one of your pages. So, that’s the very easy way to do it. Now, the only time you would really need to use Track is if you were doing some Never Track but there were parts of A.com where you did want them to be treated like an exit link, then maybe you could put those in here and those would definitely be treated by Launch as an exit link. But, by default, if you have this enabled and you are going to a different domain, it is already going to treat it like an exit link, so you don’t need to put every possible link in here in the Track section: it will automatically do it if you have links out. Let me show you how that’ll work. So, let me click back over to a site here, where I have a couple of links set up and we can see that on this page, if I refresh it, I do have Analytics and I can go down to this hit and I can see there’s a hit down here and it has a page name. This is a page load hit. Now, if I click to another page on this domain, we have our one hit down there and I click on that. There’s no hit that happens there. I’m going to go back and actually Preserve the log, so you can see again that when we click to another one it doesn’t do anything there. If I click back, I can’t get that page load hit again. But if I click to a different domain, like Adobe.com, then before it leaves this page it will give me a third hit. So we will watch that real closely. Boom - the third hit - and then actually as Adobe.com loads there are some hits on Adobe.com. But what we really care about is this third one that happened before we left the site. And if I scroll down on that hit, you’ll see that this is not a regular page load hit, but based on us seeing this pe: variable (page event variable) you can see that this is an exit link. That’s what this lnk_e means: it’s an exit link. Where to? Well, that’s pev1: right here - page event 1 - and this will tell you the link URL. So you can see this is an exit link and this is where it went. Now, what that will do is actually then put this value of pev1: into an exit links report and it will know to go to the exit links report, again because of this lnk_e. So, if we jump over to the Exit Links Report, we can see that indeed there is Adobe.com there because I’ve already clicked on that and then that’s had some time to get into that report. But that is the basic thing - you just simply go into Launch, into the configuration of the Analytics extension, and make sure this is checked. And again, if you need to have more than one domain for your report suite, then put them here so that you can Never Track them as exit links, but keep them internally and treated as pathing. That’s pretty much it. Other than that, it will track those exit links for you in the Exit Links Report and, of course, in Workspace too. This is just the old-school report here that I brought up, but that’s pretty much it. That’s really quick and easy and there are other ways for you to track exit links where you can set additional variables and you can put a friendly name on here if you want, but those are all done through custom links and not through this quick and easy exit links report. So if you just need some quick, easy exit link reporting, do what I just showed you. And if you need some more control over that, to maybe set some variables or friendly names or those kinds of things, then you’ll want to do a custom link and that’ll be in a different video. Good luck.
For more information about trackState, please see the documentation.
Analytics
- Analytics tutorials
- Introduction to Analytics
- What is analytics
- What Can Adobe Analytics Do For Me?
- How Adobe Analysis Workspace Can Change Your Business
- It’s More Than Data. It’s Customer Intelligence
- Adobe Sensei and Adobe Analytics
- Customer Use Case - ServiceNow
- Customer Use Case - Accent Group
- Customer Use Case - The Home Depot
- Summit 2019 Super Session - Travel and Hospitality
- Summit 2019 Super Session - Retail
- Summit 2019 Super Session - High Tech
- Strategy & thought leadership
- Transitioning from other platforms
- Analytics Basics
- Customizing the UI
- Getting Help
- Analysis Workspace
- Analysis Workspace Basics
- Analysis Workspace quick intro
- Analysis Workspace overview
- Navigate the new landing page
- Start your analysis with a pre-built report
- Building a Workspace project from scratch
- Create and manage custom templates in Analysis Workspace
- Understanding how data gets into your Analysis Workspace project
- Foundational metrics in Adobe Analytics
- Component management in Analysis Workspace
- Selecting a report suite in Analysis Workspace
- View Analysis Workspace performance metrics
- Create bot reports
- Tips and Tricks
- Navigating Workspace Projects
- Data Dictionary in Analysis Workspace
- Starting your first project
- Training tutorial template
- Use folders in Analysis Workspace
- Copy and insert panels and visualizations
- Create a table of contents
- Right-click for Workspace efficiency
- Keyboard shortcuts
- Annotations
- View density
- Use filters
- Use multi-select drop-down filters
- Real-time reports
- Using Panels
- Using Tables, Visualizations, and Panels in Analysis Workspace
- Quick Insights Panel in Analysis Workspace
- Using the Attribution IQ Panel
- Media Concurrent Viewers Panel in Analysis Workspace
- Media Playback Time Spent Panel
- Using Drop-down Filters
- Using Panels to Organize your Analysis Workspace Projects
- Choose segments for a panel
- Multiple Report Suites in Analysis Workspace
- Next/Previous and Page Summary Workspace Panels & Reports
- Understanding attribution panel and lookback windows
- Building Freeform Tables
- Understand your data–freeform tables
- Use the left rail to build freeform tables
- Easy drag and drop to blank projects
- Work with dimensions in a freeform table
- Work with metrics in a freeform table
- Row and column settings in freeform tables
- Freeform table totals
- Use the freeform table builder
- Right-click for workspace efficiency
- Reorder static rows
- Use Attribution IQ in freeform tables
- Cross-sell analysis
- Freeform table filters
- Time-parting dimensions
- Visualizations
- Visualization types and overview
- Visualization use cases
- Data visualization playbook
- Getting data into visualizations
- Using component drop-downs in Workspace
- Area and area stacked visualizations
- Bar and bar stacked visualizations
- Bullet graph visualization
- Donut visualization
- Histogram visualization
- Unlocking insights with histograms
- Line visualization
- Combo charts
- Adding trend lines to line visualizations
- Map visualization
- Summary number and summary change visualizations
- Key metric summary visualization
- Text visualization
- More than words - Using text visualizations and descriptions
- Scatterplot visualization
- Treemap visualization
- Venn diagram visualization
- Use the cumulative average function to apply metric smoothing
- Flexible layouts
- Changing the scale/axis on visualizations
- Dimension-graph live linking
- Set the granularity for visualizations
- Link inside or outside of your project
- Customize visualization legends
- 100% stacked visualizations
- Table and visualization data source settings
- Build a time-parting heatmap
- Analyzing Customer Journeys
- Applying Segments
- Apply segments to your Analysis Workspace project
- Apply ad hoc segments
- Use different Attribution IQ models with segments
- Choose segments for a panel
- Use segments as Dimensions in Analysis Workspace
- Use segments to limit data in Analysis Workspace
- Quick segments in Analysis Workspace
- Building Customer Journey Segments
- Building Customer Journey Segments - Part 2
- Metrics
- Dimensions
- Calendar and Date Ranges
- Curate and Share Projects
- Attribution IQ
- Using Cross-tab Analysis to Explore Basic Marketing Attribution
- Adding side-by-side comparisons of Attribution IQ Models
- Attribution IQ in Calculated Metrics
- Using Attribution IQ in Freeform Tables
- Using the Attribution IQ Panel
- Using different Attribution IQ models with segments
- Algorithmic Model in Attribution IQ
- Custom Look-back Windows in Attribution IQ
- Cohort Analysis
- Cohort Analysis in Analysis Workspace
- Understand your data–Cohort Tables
- Overview of Cohort Tables
- Cohort Table Settings
- Churn Analysis with Cohort Tables
- Cohort Analysis Using Any Dimension
- Latency Analysis with Cohort Tables
- Calculate Rolling Retention in Cohort Tables
- Use Cohort Analysis to Understand Customer Behavior
- Voice Analytics
- How to Manage and Track Your Voice Assistant App Data
- Understand Differences Across Voice-Enabled Devices
- Finding Opportunities To Increase Engagement for Voice Apps
- Reducing Error Rates and Improving Success Rates in Your Voice App
- Understand User Behavior on Voice Assistants
- Understanding the User’s Voice Journey
- Analysis Workspace Basics
- Administration
- Key Admin Skills
- Creating an empowered community
- Simplify and spend less time training users
- Getting the Right People on Your Analytics Team
- Gaining a seat at the table
- Telling impactful stories with data
- Translating Adobe Analytics technical language in a non-technical way
- Working cross-functionally
- Are you asking the right questions?
- Admin Tips and Best Practices
- Download the implementation playbook
- Audit your data dictionary
- Create standardized naming conventions
- Create standardized code templates
- Create basic videos and training
- Create an internal Adobe Analytics site
- Use a global report suite
- Create a news & announcements project
- Drive success with executive summary dashboards
- Create Operational Dashboards
- Company Settings
- User Management
- Manage Report Suites
- How to Configure General Account Settings
- Customize Calendar Settings
- Configure Paid Search Detection
- Set up marketing channels
- Create marketing channel processing rules
- Manipulating incoming data with Processing Rules
- Configuring Traffic Variables (props)
- Configure traffic classifications
- Configure hierarchy variables
- Configuring Variables in the Admin Console
- Configure conversion classifications
- Configuring List Variables
- Configure Finding Methods
- Set Internal URL Filters
- Configuring Zip and Postal Code Settings
- Enable the Timestamp Optional setting
- Configure bot rules in Analytics
- Data Governance and GDPR
- Traffic Management
- Logs
- Key Admin Skills
- Implementation
- Implementation Basics
- Experience Platform Tags
- Implement Experience Cloud solutions in websites using Tags
- Basic configuration of the Analytics extension
- Configure library management in the Analytics extension
- Configure general settings in the Analytics extension
- Configure global variable settings in the Analytics extension
- Use custom code in the Analytics extension
- Use a data layer to set variables
- Use doPlugins and implementation plug-ins
- Configure easy download link tracking
- Configure easy exit link tracking
- Prepare Tags for your Analytics implementation
- Create data elements for the Analytics implementation
- Create a global page load rule
- Validate the global page load rule
- Create rules for special pages
- Create rules for success events
- Publish Tags libraries to stage and production
- Using JavaScript
- Components
- Segmentation
- Segment builder overview
- Finding and creating segments
- Rolling date ranges in segments
- Segment comparison in Analysis Workspace
- Segment containers
- Segment management and sharing
- Applying segments in Analysis Workspace
- Using segments as dimensions
- Using segments to limit data
- Differences between the segment builder and quick segments
- Sequential segmentation
- Before/After sequences in sequential segmentation
- Segmentation on distinct dimension counts
- Dimension models in segmentation
- Use ‘equals any of’ in segmentation
- Analytics Insider Webinar - Customer Segmentation Strategies
- Now just wait a segment… Using segmentation to discover new insights
- Calculated Metrics
- Calculated metric builder overview
- Calculated metrics - implementation-less metrics
- Calculated metrics - segmented metrics
- Calculated metrics - functions
- Approximate count distinct function in calculated metrics
- Quick calculated metrics in Analysis Workspace
- Manage your calculated metrics
- Attribution IQ in calculated metrics
- Use dimensions in calculated metrics
- Take your data analysis to the next level with calculated metrics
- Classifications
- Virtual Report Suites
- Activity Map
- Segmentation
- Additional Tools
- Exporting
- From the UI
- Data Warehouse
- Data Feeds
- Report Builder
- Upgrade and reschedule workbooks
- Add Segments to Multiple Requests at Once in Report Builder
- Anomaly Detection in Report Builder
- Edit Metrics across Requests
- Using Report Builder to learn the Adobe Analytics API
- Get started with Report Builder
- Schedule a Report Builder request
- Use Report Builder advanced delivery options for Power BI
- Integrations
- Experience Cloud
- Audience Manager
- Target
- Adobe Advertising DSP
- Configuring Advertising Analytics
- Implementing tracking templates into search engines
- Introduction to the Adobe Advertising DSP integration
- Create a Pre-launch campaign analysis
- Report on Advertising DSP marketing channels
- Create Analytics site journey profiles
- Create Analytics segments for activation and reporting
- Create Advertising DSP alerts with Adobe Analytics
- Create Analytics custom metrics with Advertising DSP data
- Create Advertising DSP site entry reports
- Create Advertising DSP dashboards
- Ad Hoc Analytics
- Power BI
- Magento
- Data Science
- Vertical-Specific
- Media Analytics
- Mobile App Analytics
- APIs
- Analysis Use Cases