After successfully integrating UserIQ with the hybrid mobile app (if you haven't, click here!), you will now be able to manually create named features to track page-views or clicks. Follow the instructions below to successfully create a named feature for page-views and clicks!
1. Creating a Named feature to track a Pageview
A. If you/your team already know the page route (Eg: ionic://example.useriq.com/#/app/login),
-
Login to the UserIQ dashboard (https://app.useriq.com/)
-
Navigate to Intelligence → Named Features and click on the + Create a Named Feature button:
-
A modal should pop-up titled "Add a Named Feature". Make sure to provide a name for the feature and select the "Feature type" to be "pageview"
-
Now, enter/copy over the page route to the "Enter the URL of your feature" text area. (Ex: ionic://example.useriq.com/#/app/login)
-
Finally, click the "save" button. Once saved, you should be able to view the page-view feature under https://app.useriq.com/#/named_features as seen in the example below.
B. If you/your team do not know the page route,
-
While on your hybrid mobile application, navigate to the page that you would like to track
-
Login to the UserIQ dashboard (https://app.useriq.com/)
-
Navigate to Site Settings → Logs → Event Logs (or you may click this link - https://app.useriq.com/#/site_settings?section=events)
-
Find the pageview log that matches the page on the app (it should not contain "click"), as seen in the example below:
-
Once you have identified the page route of the page that you want to track, Copy the URL (example - ionic://…)
-
Navigate to Intelligence → Named Features and click on the + Create a Named Feature button:
-
A modal should pop-up titled "Add a Named Feature". Make sure to provide a name for the feature and select the "Feature type" to be "pageview"
-
Now, enter/copy over the page route to the "Enter the URL of your feature" text area.
-
Finally, click the "save" button. Once saved, you should be able to view the page-view feature under https://app.useriq.com/#/named_features as seen in the example below.
2. Creating a Named feature to track Clicks
- Firstly, Identify the click button that you would like to track. As seen in the sample hybrid mobile application below, we have identified the "chill" button as the click to track:
- Once you have identified the click button, click on it to record its event.
- Now, login to UserIQ and navigate to Site Settings → Logs → Events Logs (https://app.useriq.com/#/site_settings?section=events)
- As seen in the example below, identify the click using the "action" column (eg; if the click has a text of "chill", then typically the action section would contain "textContent: Chill") and then copy the "URL" content for the click button that you have just performed.

click:A className: item-content ng-binding textContent: Chill | ionic://localhost#/app/playlists
- Now, navigate to Intelligence → Named Features (https://app.useriq.com/#/named_features) and click on the + Create a Named Feature button:
- A modal should pop-up titled "Add a Named Feature". Make sure to provide a name for the feature and select the "Feature type" to be "click"
- As seen in the example below, only paste over the "URL" portion of the text that you had copied from the URL section of the click event as per the previous steps.
Text copied -
click:A className: item-content ng-binding textContent: Chill | ionic://localhost#/app/playlists
- Now, click the "save" button. Once saved, you should be able to view the click feature under https://app.useriq.com/#/named_features as seen in the example below.
- Click on the ellipsis on the right of the feature and select "advanced options", as seen in the image below.
- Selecting "advanced options" should open up a popup window called "advanced options for **name of feature**". Now, copy over only the scheme of the text that you had initially copied into the "primary scheme" text area, as seen in the example below.
Text copied -
click:A className: item-content ng-binding textContent: Chill | ionic://localhost#/app/playlists
- After pasting the primary scheme of the click as seen above, hit the "save" button and you should be all set.
You should be able to start tracking pageviews and clicks on your hybrid mobile application effectively as long as you have followed the above instructions and steps correctly. If you have any further questions surrounding this, feel free to send us a ticket by using this link and we'll be sure to help out!
Comments
0 comments
Please sign in to leave a comment.