Handbook

Get started

First, head over to app.advertising.rocks and create your account. You’ll need a valid email address, your name and a secure password.

Once logged in you see that your project has the name default. You can change this name by navigating to the settings through the sidebar.

Chose the tab Project and here you can change your name and the expected customer lifespan in years.

As well as the attribution type, which is set to first touch as standard value. This means all your customers and their revenue attributed to the first channel they used to visit your site. Whereas last touch does the opposite.

Under the General tab you can change your preferred currency.

Add the script

To add the script to your website use the snippet that can be copied under the Project tab.

Paste this script snippet into the head of your html layout of your website, like this:

<html>
 <head>
  <script defer src="https://cdn.advertising.rocks/  script.js" data-project-id=""></script>
 </head>
</html>

Creating API keys

Through the sidebar open API Keys.

Here you can create a new key by providing a name and validity period. Make sure to copy the generated key because you’ll not see it again.

Add leads

Decide where you want to add leads on your website. For example the newsletter signup form, account form, etc.

Again you can use the ready-made code snippet from the Settings page.

const payload = {
   visitorId: "VISITOR_ID_FROM_COOKIE"
};

await fetch('https://api.advertising.rocks/v1/leads', {
   method: "POST",
   headers: {
      "Content-Type": "application/json",
      "Authorization": "YOUR_KEY",
   },
   body: JSON.stringify(payload)
});

Our platform itself is fully GDPR compliant, no personal data is ever saved.

Make sure to replace the YOUR_KEY with a valid key of yours that you’ve just created in the step above.

Add purchases

Same as adding leads, you can copy the snippet from the Settings page

const payload = {
   visitorId: "VISITOR_ID_FROM_COOKIE"
   amount: 19.99,
};

await fetch('https://api.advertising.rocks/v1/purchases', {
   method: "POST",
   headers: {
      "Content-Type": "application/json",
      "Authorization": "YOUR_KEY",
   },
   body: JSON.stringify(payload),
});

Just provide the amount to track any purchase. Again, replace the API key.

Monitor performance

If you have added the script and placed the other two snippets on your website you’re done.

Pretty simple, right?

You now can see where your customers come from, what they are worth, plus all real Key Performance Indicators under the Metrics page.