ad blockers resistent code
This commit is contained in:
@@ -15,12 +15,16 @@
|
||||
<div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
|
||||
<div class="p-6">
|
||||
<h3 class="text-lg font-medium text-gray-900 mb-2">{{ __('Install the tracking code') }}</h3>
|
||||
<p class="text-sm text-gray-600 mb-6">
|
||||
<p class="text-sm text-gray-600 mb-2">
|
||||
{{ __('Copy and paste the following code snippet into the') }}
|
||||
<code class="text-sm bg-gray-100 px-1.5 py-0.5 rounded"><head></code>
|
||||
{{ __('section of every page on') }}
|
||||
<strong>{{ $website->domain }}</strong>.
|
||||
</p>
|
||||
<p class="text-sm text-green-700 bg-green-50 border border-green-200 rounded px-3 py-2 mb-6">
|
||||
<strong>{{ __('Ad-blocker resistant:') }}</strong>
|
||||
{{ __('This snippet uses paths that bypass most ad blockers.') }}
|
||||
</p>
|
||||
|
||||
<div class="relative" x-data="{ copied: false }">
|
||||
<pre class="bg-gray-900 text-gray-100 rounded-lg p-4 text-sm overflow-x-auto"><code id="snippet-code">{{ $website->embedSnippet() }}</code></pre>
|
||||
@@ -79,11 +83,11 @@ ta('event', 'purchase', {
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm font-medium text-gray-500">{{ __('Script URL') }}</dt>
|
||||
<dd class="mt-1 text-sm text-gray-900 font-mono break-all">{{ route('tracking.script', $website->tracking_id) }}</dd>
|
||||
<dd class="mt-1 text-sm text-gray-900 font-mono break-all">{{ route('tracking.script.alt', $website->tracking_id) }}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt class="text-sm font-medium text-gray-500">{{ __('Collection Endpoint') }}</dt>
|
||||
<dd class="mt-1 text-sm text-gray-900 font-mono break-all">{{ route('collect.store') }}</dd>
|
||||
<dd class="mt-1 text-sm text-gray-900 font-mono break-all">{{ route('collect.store.alt') }}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user