# Pre-requisite for the Adloop script

With Google Analytics UAWe need you to create a custom dimension in Google Analytics, in which we will put the information gathered by our script.

Specifications of the custom dimension:

* scope: session
* name: Adloop Click
* number of custom dimensions: if you have GA360, a custom dimension for every 75 000 daily sessions is needed ; if you don’t have GA360, a custom dimension for every 50 000 sessions is needed.

Also, you’ll need the list of excluded referrers (especially payment platforms) when doing the set-up in Adloop.

You’ll find this list in GA > Admin > Property > Tracking Info > Referral Exclusion List.

With Google Analytics 4

* Go to "Configure"

![](/files/Tw0ZCUNAGWhompLQKPbw)

* Go to "Custom Definitions"

![](/files/uvuElPhucP15yjTyEQ7O)

* Create 2 custom dimensions dedicated to Adloop:
  * The first one:
  * Click on "Create custom dimensions"
  * Name it Adloop Click 1
  * Select "Event" as scope
  * Event parameter: adloop\_click\_1

![](/files/5UvE4CVZfKHOWmYehYj1)

```
* The second one:


* Click on "Create custom dimensions"


* Name it Adloop Click 1 Meta


* Select "Event" as scope


* Event parameter: adloop_click_1_meta





```

![](/files/YqGuTcBhpFmcsrxAvrHy)

Also, you’ll need the list of excluded referrers that you will find in GA4 under Data Streams > Configure Tag settings > All settings > List unwanted referrals

With PianoCreate two custom dimensions adl1 and adl1\_meta

Type: String

The dimension does not contain personal data


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://community.commandersact.com/adloop/vii-adloop-tracking-and-attribution/b.-adloop-script-installation-and-checking/pre-requisite-for-the-adloop-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
