Grab Site Dynamic Data
This page explains how to improve tracking, by setting Personyze to grab dynamic data such as cart value from pages on your site and capture user input.
Personyze allows you to define custom grab data containers to extract information from any element of a webpage such as:
- An input box
- A search box
- The shopping cart bottom line
- Hidden fields
- URL Parameters
- Local storage or DB, etc.
Once Personyze has extracted the information from the predefined element, it is just as available for segmentation as every other visitor characteristic (such as their geographic location or behavioral data), and can be used for more powerful personalization.
How to Set Personyze to Grab Data
To do this, follow the path: Account Settings > Grab Site Dynamic Data > Site Dynamic Data > Add New Tracking > Find On Pages
Account Settings > Grab Site Dynamic Data > Site Dynamic Data > Add New Tracking > Find On Pages
In unusual cases where the simulator is not working on that page in a proxy mode, you can also insert the name of the selector/cookie manually. Advanced settings are also available on the selector for fine tuning; for example, tell Personyze to grab only numbers (great for cart value, to avoid unnecessary currency symbols), or tell Personyze to override previous values whenever there is a new data entry or tell Personyze to grab container value only if the visitor clicked on a button ( Very useful for grabbing transaction value or email submission on send form form button).
Grabbing Values Using Personyze Simulator:
You can tell Personyze where to grab data by opening your site in the Personyze Preview Mode, and than select the type of data that you wish to grab in the menu (the tracking code is not necessary for this step).
If you choose to select visually, once the preview mode of your site is open you can use the mouse to point and click on the value you want to grab. This can be a text input field, text in the page, or dynamic text like cart value. After you point and click, you should see the value as Personyze grabs it.
Be aware that the way Peronsyze grabs values is based on HTML selectors. In most cases, Personyze will automatically choose the right selector; for example, if it’s the page title, the selector will be “H1″.
In some cases, your site generates a selector with a unique dynamic ID, that is changing from one visitor to another; in that case, when Personyze goes to grab content from the selector you have set, it will not work, because there is no such selector for anyone else besides the current user. To solve this issue, please use the “select parents” option, to choose a better selector, which may look more generic (e.g. div-cart instead of div-cart-SS4443).
Grabbing Values by Manually Setting the Selector:
When creating new grab data containers, you can choose the “I Know the Selector” option on the Grab Dynamic Data interface. When you do so, you will see a field to type in the selector. You should type the selector, and make sure your settings are correct by using the Q/A Campaign simulator or going to Live Visits, to see real-time data on the new container.
Don’t Know the Selector?
You can find the selector using your web browser console. To do this, right click on any element, and then click “Inspect Element,” which should open the browser console, and visually show you the element selected. Then, right mouse click inside the console where it shows you the selected element, and this should open a menu with one of the options being to copy the “Selector Path”
- A/B Testing