Testing Eulerian onsite collection
This procedure checks that Eulerian tags fire correctly on your site and that the collector calls contain the right parameters.
It is useful for checking:
- that the collection tags fire;
- that the expected parameters are present;
- that the values sent are consistent;
- the calls linked to specific events.
The testing is done directly in the browser’s developer tools, in the Network tab.
Opening the Network tab
Google Chrome or Microsoft Edge
- Open the page to test.
- Right-click in the page.
- Click Inspect.
- Open the Network tab.
You can also use the shortcut:
Ctrl + Shift + I
Then select the Network tab.
On a Mac:
Cmd + Option + I
Mozilla Firefox
- Open the page to test.
- Right-click in the page.
- Click Inspect.
- Open the Network tab (labelled Réseau in a French browser).
You can also use the shortcut:
Ctrl + Shift + E
On a Mac:
Cmd + Option + E
Setting up the Network tab
Before you run the test:
- Empty the list of requests with the Clear button.
- Turn on Preserve log to keep the calls when the page changes.
- Turn on Disable cache if you want to stop the browser cache from hiding some calls.
- Keep the filter on All so that no collector calls are hidden.
- Reload the page or carry out the action to test.
Filtering Eulerian calls
In the filter box of the Network tab, search for the Eulerian calls.
The most useful filters are:
col
for standard collector calls, or the value of the collection subdomain.
votre-domaine-de-collecte.com
Reading a collector call
Click the collector call you want to check.
In the details panel, open the request parameters section:
- Payload;
- Query String Parameters;
- or Params, depending on the browser.
You can then check the parameters sent in the call.
Examples of points to check:
| Item | Expected check |
|---|---|
| Collection domain | The call goes to the right tracking domain. |
| Call type | The call matches the type of page or event being tested. |
| Native parameters | The expected Eulerian parameters are present. |
| Custom parameters | The site-specific variables are being sent. |
| Dynamic values | The values change correctly with the page or action. |
| Identifiers | The expected identifiers are present only where the context allows. |
| Consent | The behaviour matches the user’s choice in the CMP. |
Copying the URL of a collector call
It can be useful to copy the full URL of a call to send it to a technical contact or to Eulerian support.
Chrome / Edge
- In the Network tab, right-click the call.
- Click Copy.
- Select Copy link address.
Firefox
- In the Network tab, right-click the call.
- Click Copy URL.
The copied URL contains every parameter sent in the collector call.
Testing a page
To test a page:
- Open the Network tab.
- Turn on Preserve log.
- Empty the list of requests.
- Reload the page.
- Filter on
color on the collection domain. - Open the collector call.
- Check the parameters sent.
Example check on a product page:
| Expected parameter | Example value |
|---|---|
| Page type | product |
| Product reference | SKU12345 |
| Product name | Chaussure running |
| Category | Sport |
| Price | 89.90 |
The exact parameter names depend on your tagging plan.
Testing a conversion
To test a conversion:
- Open the Network tab before you reach the confirmation page.
- Turn on Preserve log.
- Go through the test journey up to the conversion.
- Filter on
color on the collection domain. - Find the call sent on the confirmation page.
- Check the conversion parameters.
Points to check:
| Item | Expected check |
|---|---|
| Conversion reference | Present and unique. |
| Amount | Correct and in the right format. |
| Currency | Present if expected. |
| Conversion type | In line with the tagging plan. |
| Status | In line with the intended behaviour. |
| Products | Present if product details are expected. |
| UID | Present only if the user is identified. |