I have an app that has nesting similar to a web page. For example:
Navigation Page
Item 1
Item 2
Item 3
I am passing this in as a screen view like this: "Page/Item 1"
My hope was that Analytics would parse that so that on the root Screens page, I would see "Page" and all of the associated Views rolled up into that. Then, clicking on Page would show me all of the stats on the individual Details pages.
Unfortunately, Analytics interprets "Page/Item 1" literally, so I have a very cluttered listing with:
Page/Item 1
Page/Item 4
Page/Item 2
Is there a way to get this to work how I intend? Or are screens always going to be literal and never show nesting as a web site would?
Related
We have a web app composed of several pages containing links of data retrieved from database. Upon clicking one link[data], the user should be directed to another page. For navigation between pages, we have used breadcrumb. The breadcrumb is stored in redux store. Currently, when the user tries to ctrl+click or open link in new tab, we managed to use single store across multiple tabs. Hence, if the user opens 3 separate links [data] in new tabs, the updates made on the breadcrumb affect previously opened tabs when these tabs/pages are refreshed. For example:
In homepage, I have these links:
Data_1
Data_2
Data_3
Current breadcrumb in the homepage is like this:
HomePage/
Once the user opens Data_1 in new tab, the expected breadcrumb in the new tab is:
HomePage/Data_1/
Similarly, if the user tries to open Data_2 and Data_3, in new tabs, the breadcrumbs should appear as follows for tab 1 and tab 2, respectively:
HomePage/Data_2/
HomePage/Data_3/
In the current implementation, I managed to update the state of breadcrumb whenever new links are opened such that breadcrumb[0] would be equivalent to HomePage while breadcrumb[1] was initially Data_1, then became Data_2, and lastly Data_3. Hence, the last value of breadcrumb[1] is Data_3 since that's the last opened link. My problem is that whenever the user refreshes previously opened tabs/pages corresponding to Data_1 and Data_2, since they are all using a single store and breadcrumb[1] has been changed to Data_3, the breadcrumbs in Data_1 and Data_2 pages also become Data_3.
In this case, I can just think of using multiple stores since I perceive that it could be the only solution given my use case. Meanwhile, I can't find any sufficient documentation online regarding using multiple stores in redux. Maybe I can pass the store to the next page in params...? something like that
Can someone please help. Thanks in advance.
To emulate per-tab same site persistency, I would, right before the page is about to be refreshed (window.beforeunload or similar)
1 - Write to localStorage about my breadcrumb
2 - Refresh
3 - Read from localStorage about my breadcrumb to initialize myself properly (so the data here SHOULD be mine because i just wrote it)
4 - remove breadcrumb information from localStorage (to prevent other tabs from reading it)
Now, you still have the case where the user just closes the tab, so you would have stale data about the breadcrumb in your localStorage. You can add a little expiration mechanism (you might consider that data in the localStorage older than 10 seconds is stale and just pretend it isn't here and delete it at step 3.) Cookies would work pretty much the same, with a built-in expiration mechanism.
I have a main page (main.jsff) where the header, footer and the menu is the same for all pages. which changes every navigation is the region.
The other pages I have (.jsff) correspond to fields of research and a table of detail. In search fields (inputText) added a autosugestbehavior. However when I am in one of the pages, eg bookingSearch.jsff and test to see if the autosuggest works it changes the page after you enter a letter.
Always go to the main page.
I checked the code (bookingSearch.java) and not have anything to point to another page. I think the problem is in the tasks flows.
Does anyone know?
I have made one block for most visited links (Top Links) in my drupal website but I dont know how to list most visited from different pages. For example, if I have created a page named drupal and within that page i have added some content with some title, then i have to examine and count those titles and list the top visited title from each and every page on my homepage(only one from each and every title that is most visited) and list them on my homepage block.
Could anyone help me with this.
Thanks in advance!
Make sure the statistics module is enabled. Visit /admin/config/system/statistics (Drupal 7) and make sure Count content views is enabled (ticked).
Use views to create a block the usual way; for example add a field like Content: Title. Then make sure you add a sort criteria of Content statistics: Total views (desc).
I am developing site using Drupal7 with JD Fashion theme from Joomlart
I have created one vocabulary and terms it in the taxonomy.I have use this terms for menu navigation and added some stories(node) for each menu item.
In post setting I have kept no of nodes in main page to 3 using admin/content management/post setting.
But it is only working for home page and not for inner pages.
I want to restrict the no of nodes to 3.
How can i do that?
Is their any module or extension for pagination to control no of article per page?
You can turn on the Taxonomy Term view in the Views UI to have more control over the taxonomy pages. This view is automatically generated by the Taxonomy module, but is disabled by default.
Once turned on you can set the Pager in the Page setting area to Display a specified number of items and set the numer of Items per page to the desired number.
This will limit the number of nodes displayed in the Taxonomy pages.
You can do this without views.
The number of nodes displayied in taxonomy page is determined by the default_nodes_main variable, that also controls, the n° of nodes in the home page and the number of blog posts.
You can adjust that at admin/config/system/site-information > front page > n° of nodes in front page.
So, beware of side effects. I made a search in all of the D7 code and i found out that default_nodes_main appears in
blog.pages.inc:26
blog.pages.inc:66, limiting the number of post
node.module:2601, limiting the number of sticky nodes (front page)
taxonomy_pages.inc:55, limiting number of nodes in the taxonomty page
Known the consequences, you can use that setting.
I have Drupal 7.10 installed with Pathauto, Global Redirect, and Custom Breadcrumbs.
I've assigned a pattern to all my taxonomy term pages (products/browse/vocabulary/term-name). Now, on every term page, I'd like the breadcrumb trail to read something like this:
Home > Products > Vocabulary
I've tried to achieve that with Custom Breadcrumbs, but what I apply to the vocabulary doesn't work on the term page itself, and working at term-level it seems I'd be required to write a manual path for each and every term (<-- major bad idea).
I've also tried overriding the term page with Panels, then using Custom Breadcrumbs to create a trail for that specific panel. The problem here: no available taxonomy tokens to get the vocabulary name.
Any ideas on how to achieve this?