Tracking & results
Hand-coded site (HTML)
Add the Adwave tracking snippet inside the head of every page on a custom website, then verify incoming events.
On this page
First, copy your snippet
Your snippet is one line of code that looks like this, with YOUR_SITE_TOKEN replaced by a code that is unique to your website:
<script async src="https://waverunner.adwave.com/t/YOUR_SITE_TOKEN"></script>
Get the real one from your Adwave account: sign in to copy your site's snippet. You'll land on the Tracking page, which shows your personalized snippet with a Copy snippet button. Each website (business) in your account has its own snippet. If you run more than one site, pick the right one with the switcher at the top of the page. Copy it there, then follow the steps below.
Paste it before </head>
Open the HTML template that every page shares (a layout, header include, or base template) and paste the snippet on its own line, just before the closing </head> tag:
<head>
...your existing tags...
<script async src="https://waverunner.adwave.com/t/YOUR_SITE_TOKEN"></script>
</head>
- It must be on every page, not just the homepage. Adwave follows a visitor from the ad click through to the purchase or sign-up, wherever that happens.
- If your site has no shared template, paste it into the
<head>of each HTML file. - The
asyncattribute is already in the snippet: it downloads while the browser continues parsing the page.
Save and deploy/publish your site the way you normally would.
Check that it's working
- Open your website in a new browser tab and load any page.
- Go back to the Tracking page in Adwave (you'll be asked to sign in if you aren't already). The banner at the top turns green on its own when your first visit arrives, usually within a few seconds. No need to reload the page.
To test the installation, click Send a test ping, then Open your site with the test link. The health card reads Receiving as soon as the tag on your page answers. If it does not, the card says what to check next.
If the banner stays amber after a minute, re-check the steps above: the most common causes are pasting the example snippet instead of your personalized one, or forgetting to save or publish the change.
