Assign Events to Site Visitors

If you haven't already, run through the typical Tend Install.

Make sure your tracking script is using v2.3 or higher. You can find the latest version in your dashboard's Install Script page.

Then copy code snippet below, and paste just above the </body> tag, on every page where you want to pass the event.

    (function() {
        tend.event({ name: 'Stripe Charge'});

Doing so will assign the Stripe Charge event to the current visitor in Tend.

Event Values

Note: Event values require tracking script v3.1 or greater.

You can also assign a value to an event by passing a value property. For example...

tend.event({ name: 'Stripe Charge', value: '$99'});