since ‎07-05-2018
‎07-01-2020
thomas_amsler
Level 6
Betreff: Debugging dynamically added JavaScript thomas_amsler - Adobe Experience Platform Launch
If you still can't find the source of your script, try another browser if possible. I sometimes also had a problem with a custom Firefox, whereas Chrome was fine. Then within the code, you should be able to find the rule by its name.Each Rule is a JavaScript object starting with it's id and name, followed by events, conditions and actions arrays.{"id": "GENERATED_ID","name": "RULE_NAME","events": [],"conditions": [],"actions": []}Within the actions array, you can see the actions you added, but y...
6144
Views
0
Likes
0
Comments
Betreff: Debugging dynamically added JavaScript thomas_amsler - Adobe Experience Platform Launch
Still not sure I understand you correctly, sorry. If I open the developer console I can see all scripts from Adobe and can debug them. Your custom code can be found in a script called: launch-HASH.min.js whereas the HASH part is dependent on your company, property and environment and for development and staging the name is added after the hash, e.g. lanuch-HASH-development.min.js
6148
Views
0
Likes
0
Comments
Betreff: Debugging dynamically added JavaScript thomas_amsler - Adobe Experience Platform Launch
Not sure if I understand you correctly, but most browsers have some developer tools (F12), where you can select the loaded resources and add breakpoints to them. The ones from Chrome beeing the best and the ones from IE/Edge the worst. It is easier if you include the non minified launch script in your code for debugging purposes, which then also loads additional scripts in the non minified version if needed. But also the minified ones can be reformatted in most developer tools with some button l...
6169
Views
0
Likes
5
Answers
Betreff: Reverting AppMeasurement Versions thomas_amsler - Adobe Experience Platform Launch
No, you cannot roll back the extension versions in Launch, which contains a fixed version of AppMeasurement.js. I faced the same issue once, when there was a bug introduced in AppMesurement.js regarding clearVariables action.
2119
Views
0
Likes
0
Answers
Betreff: Mobile Property: how to get config JSON thomas_amsler - Adobe Experience Platform Launch
This was an error on my side, the library wasn't properly built.
2260
Views
0
Likes
0
Answers
Mobile Property: how to get config JSON thomas_amsler - Adobe Experience Platform Launch
We have multiple mobile properties which were created at different times. Between the first property we create and the others something changed within Launch and now we struggle to get the configuration JSON.On the environment screen you can copy the id or code snippets. The environment file id was something like this:launch-HASH-ENV and you could easily get the JSON with: http://assets.adobedtm.com/launch-HASH-ENV.jsonThe environment file id of newer mobile properties look like this:COMPANYID/P...
2264
Views
0
Likes
1
Answers and Comments
Re: Display Rule Name When Editing thomas_amsler - Adobe Experience Platform Launch
This idea was already provided and should come soon: Include the name of the Rule in configuration screens
2886
Views
0
Likes
0
Comments
Re: Self-hosted libraries - Same file multiple times thomas_amsler - Adobe Experience Platform Launch
I still would root for an additional flat zip option, where all files are directly part of the zip without subfolders as they are only relevant for CDN and not self hostet.
2224
Views
1
Like
0
Answers
Re: Problems with Experience Cloud ID Service extension's Extension Info and Release Notes thomas_amsler - Adobe Experience Platform Launch
And please also add the documentation about ECID on the extension developer page:Adobe Experience Platform Launch Ben should have noticed you regarding this on internal channels as well.
1940
Views
0
Likes
0
Answers
Re: Analytics Extension v1.7.7 bug thomas_amsler - Adobe Experience Platform Launch
According the Slack Channel, this is already fixed in 1.7.8 which was just released.
4141
Views
0
Likes
0
Replies
Analytics Extension v1.7.7 bug thomas_amsler - Adobe Experience Platform Launch
I just created a new property to test our extension and installed the latest version of the analytics extension. This version has an additional field in the Global Variables section called "Select Report Suite". I only have our prod suite available, but when I select it and try to save the configuration it always throws "An unknown error has occurred." In the details I see the following cause:"The property 'trackerProperties' contains an additional property \"selectedReportSuite\" outside of the...
4229
Views
0
Likes
1
Replies
Re: Rules in Prod but disabling for Non Prod Environments thomas_amsler - Adobe Experience Platform Launch
Maybe someone from Adobe has a better idea, but it seemed the most simple solution and adding an option that checks a cookie or a js variable would make it more flexible.
1765
Views
1
Like
0
Answers
Re: eVars along with different properties thomas_amsler - Adobe Experience Platform Launch
That is one option, I don't know your full use case. Having a campaign logic in place would be another. I am more on the technical side than on the analytics, so I try to provide technical solutions...
2123
Views
0
Likes
0
Answers
Re: eVars along with different properties thomas_amsler - Adobe Experience Platform Launch
Yes, Session Storage is domain and even protocol based: Window.sessionStorage - Web APIs | MDN That's why I also mentioned cookies, which you can store als wildcard cookies like ".domain.com".
2113
Views
0
Likes
0
Answers
Re: DTM and Launch on the same page thomas_amsler - Adobe Experience Platform Launch
You can't have both running on the same page, no matter if there are different properties. The _satellite object will be overwritten by the one that loads last and only this one will track.
1921
Views
0
Likes
0
Answers
Re: eVars along with different properties thomas_amsler - Adobe Experience Platform Launch
The only thing I can see is some custom logic with cookies or session Storage if both properties run on the same (top) domain. The s object is re initialized per page load, so you can't even store something there for multiple pages.
2130
Views
0
Likes
0
Answers
Re: Rules in Prod but disabling for Non Prod Environments thomas_amsler - Adobe Experience Platform Launch
You could add a condition to the rule which checks the environment and only returns true for production.
2402
Views
1
Like
1
Answers
Re: Some props writing out in a loop, others not. Why? thomas_amsler - Adobe Experience Platform Launch
How about just contatenating the values and have one tracking call and then take it apart in analytics. Or even use list vars, which are meant for this (though the limitation to only 3 makes them precious). With some limitation you could also just define an eVar to act as a list, though the size limit would still be the same and would cause problems if you need to have many documents in that variable.
2768
Views
1
Like
0
Answers
Re: Data Element for Page Name Not Sent With Every Hit thomas_amsler - Adobe Experience Platform Launch
Just to be sure, you don't set the value to the eVar within custom code? If you do, don't forget to also add it to s.linkTrackVars, else s.tl() calls won't track it.
1984
Views
0
Likes
0
Answers
Launch Extension Development with Analytics thomas_amsler - Adobe Experience Platform Launch
I'm trying to develop my first launch extension to cope for some limitations I encountered. It is tightly linked to analytics and to be honest it is an alternative approach to what the Data Layer Manager extension from Search Discovery is doing.My Problem is that my current approach needs to have the Analytics Extension available as well and I didn't find a way to have this one available in the sandbox. I know how I can reference it in the JS code, but within the sandbox the call to "turbine.get...
1184
Views
0
Likes
0
Answers and Comments
Re: Disable Activity Map through config thomas_amsler - Adobe Experience Platform Launch
Do you have any JS errors on the page that might prevent this to be executed?On our property we have the radio button set to Before instead of After. Maybe this has an impact here.
17896
Views
0
Likes
0
Comments
Re: Disable Activity Map through config thomas_amsler - Adobe Experience Platform Launch
I am not an Adobe employee, so I also have no exact dates. For now you can add this to your custom code section where you also would add plugins, this disables it completely:if (typeof s.ActivityMap === 'object') { s.ActivityMap.link = function() { return false; };}
17896
Views
0
Likes
0
Comments
Re: How to track the click button through Launch data element and pass attribute value to Adobe Analytics? thomas_amsler - Adobe Experience Platform Launch
I can try to outline how I would do it with a custom script, though I have to say, custom attributes are not recommended, you should either use the "data-" prefix or introduce a separate namespace with a linked DTD.So I assume you have a rule that get's triggered when this button is clicked.In the "Set Variables" action within the custom code you can access this button "event.target". From this you can access the attribute by name "event.target.getAttribute('cst-text')" and apply it to an eVar o...
3228
Views
0
Likes
0
Answers
Execution Order of two different direct call rules thomas_amsler - Adobe Experience Platform Launch
On our homepage we have some teasers with internal campaigns that we track when the page loads. There is one additional teaser that loads data via an ajax call. So the page load rule, we are using a direct call rule for this, called "page-load". The found internal campaign codes (in the DOM) are sent in a list variable together with an event. The success handler of this ajax call also executes a direct call rule called "ad-view" and also uses the same list variable and event as it is also an int...
1157
Views
0
Likes
0
Answers and Comments
Re: Launch create archive appending additional forward slash thomas_amsler - Adobe Experience Platform Launch
We also use the zipped archive soltion and it works with a path starting with slash and ending without. Are you sure that you maybe have some other characters in the field that could cause this?
1726
Views
0
Likes
0
Answers
Re: Edit Rule UI thomas_amsler - Adobe Experience Platform Launch
There is an idea regarding this already: Include the name of the Rule in configuration screens So this should be available soon...
5619
Views
0
Likes
0
Comments
Re: Link tracking and page views - Launch implementation on iOS app thomas_amsler - Adobe Experience Platform Launch
If you are talking about a native app, iOS or Android, you should add the SDK for the operating system and use the API provided with it to do the tracking. I wasn't even aware that you could use Launch Scripts in an app, unless you are using PhoneGap/Cordova and have a plain webapp.
2096
Views
0
Likes
0
Answers
Re: Success Event is firing twice on rule? thomas_amsler - Adobe Experience Platform Launch
What version the the Analytics Extension do you use. There was a bug with clear variables that was only fixed in the latest version but was in the library in 2 or 3 previous versions:What are possible reasons why ClearVariable fails?
2058
Views
2
Likes
0
Answers
Re: Can Both DTM and Launch Be On A Site? thomas_amsler - Adobe Experience Platform Launch
As Ben mentioned both DTM and Launch use the _satellite object so the script that is loaded last will overwrite this object and thus also overwrite the settings like report suite.
1870
Views
0
Likes
0
Answers
Re: Enters Viewport event in Adobe Launch thomas_amsler - Adobe Experience Platform Launch
When you refresh the page or navigate back to it from an other page, the rules are loaded anew. Launch doesn't store this for longer than one page load. The easiest way to achieve this, is to add a custom code action where you store a flag in the sessionStorage object of the browser and to check for it in a condition if the rule should be triggered.
1879
Views
1
Like
0
Answers