Foreword

Principle

The “customObject” parameter allows you to pool together all parameters you wish to measure and possibly display variables pre-defined by AT Internet (“name”, “level2”, etc.): the Data Manager interface is necessary in order to tell our data treatment system which parameter corresponds to which dimension.

Tagging

The “customObject” parameter can contain as many parameters as you wish.

Tagging examples with the “page.set()” method

Declaration format for a parameter with 1 dimension:

JavaScript

1

2

3

4

5

6

7

8

9

tag.page.set({

customObject:{

param1:'val1',

param2:'val2'

}

});

tag.dispatch();

where “param(i)” are the labels of parameters and “val(i)” are the values to associate with these parameters (surrounded by quotes in the case of text).

Declaration format for a parameter with 2 dimensions:

JavaScript

1

2

3

4

5

6

7

8

9

10

11

tag.page.set({

customObject:{

param1:{

param11:'val1',

param12:'val2'

}

}

});

tag.dispatch();

where “param(ii)” are the labels of parameters and “val(ii)” are the values to associate with these parameters (surrounded by quotes in the case of text). In the above example, the parameters “param 11” and “param12” are completely dependent on the parameter “param1.

Tagging examples with the “page.send()” method

Declaration format for a parameter with 1 dimension:

JavaScript

1

2

3

4

5

6

7

8

tag.page.send({

customObject:{

param1:'val1',

param2:'val2'

}

});

Declaration format for a parameter with 2 dimensions:

JavaScript

1

2

3

4

5

6

7

8

9

10

tag.page.send({

customObject:{

param1:{

param11:'val1',

param12:'val2'

}

}

});

It is possible to combine parameters with 1 or 2 dimensions in the customObject declaration.