{{ __('Copy and paste the following code snippet into the') }}
<head>
{{ __('section of every page on') }}
{{ $website->domain }}.
{{ __('Ad-blocker resistant:') }} {{ __('This snippet uses paths that bypass most ad blockers.') }}
{{ $website->embedSnippet() }}
{{ __('After the tracking script is loaded, you can send custom events from anywhere in your JavaScript:') }}
// Basic event
ta('event', 'signup');
// Event with details
ta('event', 'purchase', {
category: 'ecommerce',
action: 'checkout',
label: 'premium_plan',
value: 29.99,
properties: {
plan: 'premium',
period: 'monthly'
}
});