Expand my Community achievements bar.

SOLVED

How to configure AAM extension to works with GA?

Avatar

Level 1

My client works with DIL and Visitor API inserting the code from google tag manager, now they want migrate this library to adobe launch, I'm trying to find how to to that but I don't find out and example. 

 

 

I hope some one could help me. 

 

This is parto of the script insert into GTM. ¿How I can capture the dl_ values from Launch?

 function getSignals () {
        var signals = {};
        var pageInfo = {
            "d_referer": document.referrer,
            "d_url": document.URL,
            "d_useragent": navigator.userAgent,
            "idaam": getCookie('aam_uuid'),
            "dl_country": {{CJS page.navCountry UPPER}},
            "dl_language": {{CJS page.navLang UPPER}},
            "dl_comprador": {{CJS user.buyer}},
            "dl_autenticado": {{CJS user.logged}},
            "dl_CookieId": {{dL user.cookieId}},
            "dl_userRecognized": {{CJS user.recognized}},
            "dl_lastVisitDays": {{CJS user.lastVisitDays 1st}},
            "dl_lastSearchDays": {{CJS lastSearchDays 1st}},
            "dl_lastRoute": {{dL search.flightRoutes}},
            "dl_CampaignSource": undefined,
            "dl_SelectedRoute": {{dL search.flightRoutes}},
            "dl_segment": undefined,
            "dl_channel": {{dL page.channel}},     // revisar
            "dl_ClientId": {{dL user.userInfo.lifeMiles}},
            "dl_SubSection1"undefined,
            "dl_SubSection2"undefined,
            "dl_path": {{CJS page.path}},
            "dl_PageName": {{dL page.name}},
            "dl_UrlPath": {{Page URL}},
            "dl_previous": {{dL page.previous}},
            "dl_referral": {{dL page.referral}},
            "dl_CookiesEnabled"undefined,
            "dl_ScreenResolution"undefined,
            "dl_timezone": {{CJS timezone}},
            "dl_date": {{dL visit.date}},
            "dl_day": {{dL visit.day}},
            "dl_month": {{dL visit.month}},
            "dl_MonthName": {{dL visit.month}},
            "dl_year": {{dL visit.year}},
            "dl_hour": {{dL visit.hour}},
            "dl_time": {{dL visit.time}},
            "dl_timeExact": {{dL visit.timeExact}},
            "dl_weekday": {{dL visit.weekday}},
            "dl_weekOrWeekend": {{CJS visit.weekdayWeekend}},
            "dl_temperature""",
            "dl_weather""",
            "dl_utmCampaign"undefined,
            "dl_utmSource"undefined,
            "dl_utmMedium"undefined,
            "dl_utmTerm"undefined,
            "dl_utmContent"undefined,
            "dl_TarifaIda": {{CJS Familia Tarifaria Ida}},
            "dl_TarifaRegreso": {{CJS Familia Tarifaria Regreso}},
            "dl_ecommerce_pnr": {{dL ecommerce.pnr}},
            "d_adsrc""",
        };
 
        window.audience = window.audience || [];
        try {
            var audienceCommands = {};
            audienceCommands.signals = getSignals();
            window.audience.push(audienceCommands);
        } catch (e) {}
        var trPageName = {{dL page.name}};
        if (trPageName=="CONF") {
            window[dataLayerObjName].push({'event':'transactionDMP'});
        }
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You could start off by installing the "Adobe Audience Manager (DIL)" extension in Launch. That should handle most of your code. Then you might need to configure some of the extension's actions in your Rules to send the appropriate events to AAM.

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

You could start off by installing the "Adobe Audience Manager (DIL)" extension in Launch. That should handle most of your code. Then you might need to configure some of the extension's actions in your Rules to send the appropriate events to AAM.

Avatar

Level 1

Thanks for answer.

 

I all ready installed "Adobe Audience Manager (DIL)" extension in Launch, but I don´t understand how to catch the values (with the rule) if this " {{CJS timezone}}" is GA syntax or it could work? 

 

in the extension, i have to use this option "Use DIL Google Analytics Module" or not? and use the default configuration?

 

URL extension image => https://experienceleague.adobe.com/docs/experience-platform/assets/ext-aam-config.png?lang=en

 

 

 

Thanks if can help me.

Avatar

Community Advisor

What is your {{CJS timezone}} code in GTM? Actually, you should go through all of the data that's being collected in the "signals" to figure out how to perform your migration properly. I think you should also look at the GTM Tag that fires with the "transactionDMP" event for more info. This is a job for you.

 

The extension's "Use DIL Google Analytics Module" allows you to send data from Google’s Universal Analytics to Audience Manager. See DIL Modules | Adobe Audience Manager for more information.