Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Installation instructions - with CAX

  • Go onto the Commanders Act platform

  • Choose the appropriate container. It is essential that the tag is triggered on all landing pages.

...

  • The custom(s) dimension(s) configured in your Analytics tool

    • If several, they should be separated by a comma ( , )

  • Subdomains that should be considered as a separate referrer

    • Example: http: // blog.website.com is not be considered as internal but as a referrer

  • Referrers to be excluded (the list should be the same as the one in your Analytics tool), like payment platforms

...

Code Block
params[window.__ADLOOP_VALUES__['clickDimension']] = window.__ADLOOP_VALUES__['clickCode'];
params[window.__ADLOOP_VALUES__['clickDimensionMeta']] = window.__ADLOOP_VALUES__['clickCodeMeta'];

If you are using server-side

If server-side tracking is being used for GA4 events (or another tool), it is possible to add the Adloop parameters to these as well. There's no need to modify the individual events; instead, you can add a tag that sets these two parameters for all events.

The code for the tag is as follows:

Code Block
if (window.__ADLOOP_VALUES__){

  cact('setProperty', window.__ADLOOP_VALUES__.clickDimensionMeta, window.__ADLOOP_VALUES__.clickCodeMeta)

cact('setProperty', window.__ADLOOP_VALUES__.clickDimension ,   window.__ADLOOP_VALUES__.clickCode ); 

}

Image Added

This tag should be inserted after the AdLoop template but before the one tag for the server-side events.

On the GA4 destination side, these parameters need to be added to the mapping if the option to send all parameters to GA4 is not enabled.

...