### Virtual Page View Tracking

If you have virtual page views, e.g. single page apps, AJAX interaction that load content outside of the normal page load cycle, you’ll need to add an additional AJAX response handler snippet. For example, if you have a link to a category or product page, which loads via AJAX, you need to add this response handler to the category or product page link. This will trigger a log event to Bloomreach, so we can track the AJAX product page view.

The Bloomreach pixel requires the **Original Ref URL parameter** to be sent on all virtual Page Loads.



## Virtual Page Load Variables

VariableValue type, exampleDescription
br_data.orig_ref_urlstring, "<https://myshop.com">Referring URL.
br_data.user_idstring, "947345478564"If you track users via a universal customer ID, populate this parameter with that ID. This should be an anonymized string and should not contain the user's email or other personally identifiable information. **This parameter is only required if you track users via a universal customer ID**. This will allow Bloomreach to recognize users in a way that is aligned with your system for various personalization features. If you do not track users this way, leave this blank. [Read more](🔗) on the recommended implementation.