Below is an example of the variables the Digital Retailing Express Store pushes to the DataLayer. Advanced users can use GTM to pick up these variables and map them into Custom Dimensions in Google Analytics as see fit.
What is the DataLayer? The DataLayer is essentially a javascript array that temporarily stores information on a web page that you want to collect data against.
DataLayer Variable | Definition |
rd_page_name | The Digital Retailing page path. We recommend using this as your 'page' for all tags. This provides a nice, clean set of pages for analysis in GA |
rd_page_title | The Digital Retailing page title. We recommend using this as the 'title' for all tags |
in_store | If this is set to true, this represents an agent is signed in and on the Express Store. If this is set to false, this represents an online customer is on the Express Store. |
distinct_id | The Digital Retailing cookie id. Every user who lands on the Express Store will get this |
cust_id | This is the customers id within the Digital Retailing application. Ex: 2323423 |
cust_uid | The same as the distinct_id only when a customer has identified themselves (submitted PII). Will be --NOT-SET-- if a customer is anonymous |
agent_id | This is the agents id within the Digital Retailing application. Ex: 297278 |
agent_uid | This is the same as the distinct_id |
property | Allows you to look at activity on the Express Store, main site, or both |
rd_page_context | Dumping ground for all information regarding a page. Payload size will depend on the page you are on |
dpid | If you have multiple Express Stores, this is the internal roadster code used to identify them. |
timestamp_utc | The server time, so we know exactly what time an action was taken on the site |
timestamp_local | The timezone of the rooftop |
all_cross_domains | If your Express Store domain is different than your main website domain, the Digital Retailing Express Store automatically manages cross domain tracking for you. Just grab this variable and plug it into the ‘Auto Link Domains’ field. Don’t forget to set the AllowLinker = True |
sc | This stands for “Session Control”. If an agent is logged into the express store for 1 hour, the default is that the session will be 1 hour. However, if that agent handles 3 customers during that time you can’t see how long each customer spent. If you want to track the amount of time each of the customers spend (instead of the time the agent spends) then plug this variable into “Session Control” and the Express Store will force a new session every time an agent checks in a different customer. Just add this field Name to your Page View tag. |
embedded | This will return true if you are using the slide-out VDP |
referrer | Represents what domain a user entered the Express Store from |
landing | The first page a user saw on the Express Store during their session |
site_dealer | Your website url |
site_express | Your Express Store url |