Help Center

Make Attributer a last-touch attribution system

By default, Attributer is a first-touch attribution system.

When a visitor arrives on your site, Attributer looks at where they came from and stores the data in a first-party cookie in their browser. This cookie has a 365-day expiry date, which essentially means that the cookie that gets set by Attributer on the lead’s first visit will persist for 365 days. So, no matter how many times a user comes back and completes a form in that time, Attributer will always remember the information from their first visit.

However, you can change the cookie expiry period to whatever number of days you think is best for your business.

So if you prefer Attributer to be a last-touch attribution system, then that can be achieve by simply setting the cookie expiry period to 1 day. This essentially means that Attributer will ‘forget’ their original visit after just 1 day, so if they come back again then the data from their latest visit will be passed through.

How to make Attributer a last-touch attribution system

Follow the steps below to make Attributer a last-touch attribution system.

Step 1: Copy and edit the below code

The code below is a little bit of ‘modifier code’ that tells Attributer to change the cookie expiry period to whatever you set.

<script>
    window.attributersettings = {
        cookieLife: 1
      }
</script>

So the code above tells Attributer to set the cookie expiry period to just 1 day (which is the shortest it can be). You can change this to whatever number of days you prefer, but if you are wanting to make Attributer a last-touch attribution system then you will want to leave it at 1.

Step 2: Paste the code above the Attributer code on your website

Now that you have modified the code to set your preferred expiry time, you need to paste it ABOVE the Attributer code.

So it needs to look a bit like this:

That’s it! You’re done. The cookie that is set by Attributer will now expire after 1 day and it has effectively become a last-touch attribution system.

Can't find the answer you need? Contact us!

Our team are available to answer any questions you have

Support Images