since ‎07-05-2018
‎07-01-2020
thomas_amsler
Level 6
Re: Troubleshooting Launch Script in Browser - Need to put Breakpoint thomas_amsler - Adobe Experience Platform Launch
Pretty print helped me to debug, but I agree the minifier does go rather far with renaming and even reorganizing your code and sometimes it is hard to debug if there are multiple statements combined with && or commas.Usually your script ends with ".min.js" so you can use the unminified version by omitting the ".min". So on your side include the non minified version and you should be able to see the code how you wrote it.
668
Views
3
Likes
0
Answers
"Create archive" option small bug and improvement thomas_amsler - Adobe Experience Platform Launch
In the environment configuration you can choose to "Create archive" which packages all scripts into a ZIP. If active another configuration field is shown: "Self-hosted Path to Library"If you enter something in this field the script tag to copy is slightly wrong:if your path starts with a / then the script tag looks like this: if you ommit the / then it is The former has one / too many and later wont work on any page below the homepage.So please remove the additional slash and update the tooltip ...
1039
Views
0
Likes
0
Replies
Enhance the "Create archive" option thomas_amsler - Adobe Experience Platform Launch
Our security department doesn't trust anyhting hosted on the cloud, so we use the "Create archive" option for the environments to download a ZIP file which we then manually load into AEM DAM. This is cumbersone as it seems the folder name hashes change from time to time and the DAM transforms all folder names to lowercase, so we have to use CRX DE to change them back to the upper case ones or else the AppMeasurement.js can't be found.So my idea would be to have an additional flag:"Create AEM con...
713
Views
1
Like
0
Comments
Re: Potential bug- switching action order thomas_amsler - Adobe Experience Platform Launch
Ok, now I have an even more annoying issue with the action order.If I open the action in Launch, everything seems fineSet VariablesSend BeaconClear VariablesBut if I look into the built code the actions array isSend BeaconSet VariablesClear VariablesLuckily our testers realized that there are not variables sent for these rules, but it took me a while to see why this is the case as the rule looks ok to me.
1233
Views
0
Likes
0
Answers
Re: wrong succession of actions in published rule thomas_amsler - Adobe Experience Platform Launch
There is another discussion regarding this issue: Potential bug- switching action order It is really anoying to have to reopen each rule again, after you clicked save as it may not have saved the order you saw when you clicked save. I hope this gets fixed soon.
1154
Views
1
Like
0
Answers
Re: Have conditions independent of Rules thomas_amsler - Adobe Experience Platform Launch
There already is an idea with the same basic premisse: Reuse events, conditions, exceptions in rules
3251
Views
0
Likes
0
Comments
Re: JS library that runs before Data Elements thomas_amsler - Adobe Experience Platform Launch
If your website already has such a library loaded in the window namespace, you can use it within the custom code as well. The only problem is that you would need to have the other library loaded before and also synchroniously.
3037
Views
0
Likes
0
Comments
Re: How to prevent the default download link to trigger under certain conditions? thomas_amsler - Adobe Experience Platform Launch
I found the s.abort flag which seems to do what I want.
955
Views
1
Like
0
Answers
How to prevent the default download link to trigger under certain conditions? thomas_amsler - Adobe Experience Platform Launch
We would like to keep the default download link tracking configured in the Analytics Extension's "Link Tracking" section with the default file extensions in place. But there are a few lightboxes which should not count towards a download. But as there is no specific rule for these, and the lnk_d is triggered automatically, how can I add some conditions? Can I prevent the tracking somehow in the custom doPlugins method?And a small side question, related to this, how can i clear the variables after...
1088
Views
1
Like
1
Answers and Comments
Re: Adding additional eVars and props to default download link tracking thomas_amsler - Adobe Experience Platform Launch
What I did now is to define a s.doPlugin method, where I check for s.linkType==='d' and then add my custom eVars...
5096
Views
0
Likes
0
Replies
Re: Option to add //# sourceURL to Dev Environment thomas_amsler - Adobe Experience Platform Launch
Not sure if I understand you correclty, but in either Chrome or Firefox you can still pretty print the compressed file from launch. Just open the developert tools, navigate to the source, in your cause probably the launch-HASH-ENV-min.js and click the {} icon. There are still some limitations to debugging as the compresser does a lot of code rewriting and uses less semicolons and more comma and boolean operators to have multiple operations in one line. So you can't have a breakpoint on every lin...
3642
Views
0
Likes
0
Comments
Re: Potential bug- switching action order thomas_amsler - Adobe Experience Platform Launch
Yesterday the action elements were completely f***d up. I couldn't properly reorder them, as where I dropped it was not the place where the element was placed afterwards.
1235
Views
0
Likes
0
Answers
Re: Old appMeasurement plugins thomas_amsler - Adobe Experience Platform Launch
Be aware some plugins may not work in Launch due to the new compiler/compressor of the scripts. It renames all the variables and "s" isn't always called "s" anymore in the built library.One I found an already reported via Customer Care is the getVisitNumHere a fixed verison of that plugin:/** Plugin: getVisitNum - version 3.0*/s.getVisitNum=new Function("tp","c","c2",""+"var s=this,e=new Date,cval,cvisit,ct=e.getTime(),d;if(!tp){tp='m';}"+"if(tp=='m'||tp=='w'||tp=='d'){eo=s.endof(tp),y=eo.getTim...
1349
Views
2
Likes
0
Answers
Re: Copy Property Option thomas_amsler - Adobe Experience Platform Launch
A lot of these basic features aren't available in Launch yet. I think these should be on the top of priority list for things to implement in Launch. Please also check the ideas section and upvote the corresponding idea:Copy/Replicate Adobe Launch Properties (Templates) And also upvote any you find usefull as well. This one is about copy of rules, which is even more important when you have similar rules with just slight differences:Allow Launch Users to Copy Rules
1399
Views
1
Like
0
Replies
Re: Potential bug- switching action order thomas_amsler - Adobe Experience Platform Launch
It happened to me a few times as well, but I didn't record my steps to reproduce as you did. So I can't say if the same steps caused my problem. But I agree sometimes the action order gets screwed up between saves.
1234
Views
1
Like
0
Answers
Adding additional eVars and props to default download link tracking thomas_amsler - Adobe Experience Platform Launch
In the Analytics Extension you can configure which file extensions are considered download links. Is there a way to provide link specific eVars and props to this tracking call?We are currently using the s.doPlugins as suggested here https://forums.adobe.com/ideas/5674#comment-163455 to set some additional global variables. But if I want to have link specific ones this doesn't seem the right place to add...
5283
Views
1
Like
3
Replies
Re: Global area to place code that will fire for any event -- not just when a page load fires thomas_amsler - Dynamic Tag Management
I fully agree with this. I also have some ideas how to implement it:Have a flag in the Set Variable Action to also include global variablesHave a separate Action called something like "Set Global Variables"We now did something similar to joshd's approach. We have a custom Code JS in our source repo which we add to all the rules that need them via another Set Variable Action Custom Code section.
4075
Views
0
Likes
0
Comments
Publishing/Building improvements thomas_amsler - Adobe Experience Platform Launch
I have a few improvement ideas for the publishing process. One is already covered here: rapid rollback Here a few more:in DTM it was sometimes a bit annoying that a saved rule was directly visible on staging. But now that we have a proper workflow I would like that feature back for libraries that are only built for development. So, as long a library hasn't moved to the approval stage, I see a flag "always use latest" which indicates that the latest version of any extension, data element and rule...
2390
Views
6
Likes
1
Comments
Re: Forward Support in Launch for DTM's _satellite.getVar("window. thomas_amsler - Adobe Experience Platform Launch
I agree that this would be a good feature, especially if it was working in DTM.But for this example case I would create data elements pointing to the datalayer anyway. With the ContextHub Extension and a custom JSON Schema this is rather comfortable to do and as far as I know there it also fails gracefully.
4199
Views
0
Likes
0
Comments
Re: Improve Launch Rules list page thomas_amsler - Adobe Experience Platform Launch
I also added an idea for the overview page which goes hand in hand with this:Display more information in the rule overview
16749
Views
0
Likes
0
Comments
Building library during development thomas_amsler - Adobe Experience Platform Launch
The tutorial videos cover some basic principles of the publish workflow, but now that I work with it I have a question. Do I have to create a revision for a Rule, Data Element or Extension when I have a small change in it? Even though the library never got to the approval stage yet?I just rebuild it for development and I was hoping it can be configured to just always take the latest version of all the added pieces each time I rebuild it. But as of now I had to create a few revisions of some Rule...
1227
Views
0
Likes
2
Answers and Comments
Global variables not sent with "Send Beacon" thomas_amsler - Adobe Experience Platform Launch
I have configured a bunch of Global Variables in the Analytics Extension, but my page load rule doesn't send them. It only executes the ones set in the custom code section of the Analytics Extension. I don't have any overlays in the "Set Variables" action at the moment it is actually empty. The only thing I see in the tracking call are the props that are set as duplicate frrom the eVars. But even this doesn't work in any other rule on the page, there nothing except the explicitly set eVars and p...
2312
Views
1
Like
3
Answers and Comments
Self hosting: How does it work? thomas_amsler - Adobe Experience Platform Launch
At the bottom of the page (Launch: Integrate your marketing tools with open APIs | Adobe ) it is stated that you can self-host the library. If I remember right (as I don't find the page anymore), it was also stated somewhere that you could run Launch on premise. So, iss my memory correct regarding the on premise part:If yes, how would that work, e.g. where can I find documentation regarding this?If no, self-hosted libraries, is this just the SFTP copy option in Launch or am I missing something? ...
1109
Views
0
Likes
1
Answers and Comments
Add an indicator if the "Set Variable" action contains custom code thomas_amsler - Adobe Experience Platform Launch
In DTM when you look at the rule details, you see if the analytics part contains custom code before you open the accordion containing the details. I miss this featue in Launch. Currently I would have to define a naming convention for the action so it is clear that it contains custom code.
1995
Views
8
Likes
1
Comments
[AAE] Natural order of eVars, props and events thomas_amsler - Adobe Experience Platform Launch
It would be great if the order of these 3 elements would be natural, even if you add a lower number later on it should be shown in the correct order as it was in DTM. As an example I had the following eVarseVar1eVar9 Then I added eVar5 so the order when I open the Global Vars of the extension configuration or in a rule in the Set Variable element the next time should be the following and nto eVar5 at the end.eVar1eVar5eVar9
17656
Views
39
Likes
9
Comments
Re: Add GUI element to add values to Analytics events thomas_amsler - Adobe Experience Platform Launch
True, that would probably be even better and less confusing than two input fields with different purposes.
16692
Views
0
Likes
0
Comments
Add GUI element to add values to Analytics events thomas_amsler - Adobe Experience Platform Launch
Currently in DTM and Launch, events can only be set either empty for increment by 1 or serialized from value. But with the Numeric type an event can also have an actual value. So I'd like to have two input fields in the event section of the "Set Variables" Action Type from the Analytics Extension.Serialize from value (optional) -> as isValue (optional) -> newSo option 1 would create a an event like "eventN:%serializedFromValue%" and option 2 "eventN=%value%"Currently this can only be done with c...
16889
Views
8
Likes
10
Comments
Re: Event counter with a provided amount instead of 1 thomas_amsler - Adobe Analytics
Ok, there was a missconecption from my side. I accidentally set what I thought to be the value for the event in the serialize from value field. So I was basically missing an option to add values to an event with the GUI. It seems I need to add it in a custom code section.So I know have the following (this is the video DOM element that triggered the rule):s.linkTrackVars = 'eVar10';s.linkTrackEvents = 'event16';s.eVar10 = datalayer.video.getName(this);s.events += ',event16=' + datalayer.video.get...
912
Views
0
Likes
0
Answers
Re: Event counter with a provided amount instead of 1 thomas_amsler - Adobe Analytics
I clarified it and it seems we could use the eVar Instances as a counter as well. Though we keep the extra event and leave it as a normal counter.But still I don't see why it doesn't work with a value. I've seen in the documentation that you need H23 Code, that this works. Where can I see what we are using, maybe this is why it isn't working.I now also added another event to the milestones, counting the seconds played of the video. But here nothing at all gets tracked. I send it like this for th...
895
Views
0
Likes
0
Answers
Find the DOM element that triggered a rule within a custom script data element thomas_amsler - Dynamic Tag Management
I want to have as little custom code in the analytics rules as possible. If I need custom code I create data elements for it and use them with the %% annotations in the analytics part (e.g. eVar5=%CS-myDataElem%). Now I am struggling to get to the event that triggered a rule where I want to use this custom script data element.In my specific case I have some custom logic vor video playback and I want to extract the currentTime from the video object. I've seen with a JS debugger, that the video ta...
563
Views
0
Likes
0
Answers and Comments