Visitor Payload

The Visitor Payload section in the Touchpoint code snippet lets you pass visitor data from your site into activity reporting. These data points are available through the CSV export from the activity's Report page. Use them to analyze response data with more context.

Step 1: Determine the data points that would be valuable for you to pass

What is available on your site? What activities are you planning to distribute and what context would be most valuable and relevant to you?

Consider your overall goals with Touchpoint. You want to pass all the variables you need for thoughtful analysis of activity data. At the same time, including too much or irrelevant data can make CSV exports unnecessarily cluttered.

Step 2: Modify the visitor object in the code snippet

The values passed into this call must come from your own site's codebase.

Step 3: Place the code snippet in the <head> of your site

Potential errors and troubleshooting

  1. The snippet will not fire if there are any syntax errors in the JavaScript you have added.
  2. The domain of your site must match the registered domain exactly.