since ‎07-05-2018
‎07-01-2020
thomas_amsler
Level 6
Re: Mobile Tracking with Launch thomas_amsler - Adobe Experience Platform Launch
Are you talking about a native Andorid/iOS app or a webapp wrapped with PhoneGap/Cordova? The former uses an SDK for the platform you are using and doesn't use Launch. The latter would be the same as any other web application.
2727
Views
0
Likes
0
Replies
Re: Analytics extension Plugin support thomas_amsler - Adobe Experience Platform Launch
I have the exact same use cases as Lukas: Exit and Download link special cases and many global variables where some of them are based on plugins.And as Launch will never be as good ad creating a diff between versions as git, we also store this code in our git repo. This also has the advantage of a good code editor without the lag of the browser editor but with some better syntax check.
18058
Views
0
Likes
0
Replies
Re: Global variables not sent with "Send Beacon" thomas_amsler - Adobe Experience Platform Launch
I completely refactred my Launch rules, so no, this is no longer relevant. I do everything within a doPlugins method as I anyway have som custom code I need and thus prefer to have all variable setter in one place instead of spread between the GUI and the custom code.
1180
Views
0
Likes
0
Answers
Re: Update Analytics Extension warning with every library build thomas_amsler - Adobe Experience Platform Launch
Ok, thanks for the info, but now there was also an update on Core and I would need to touch every single rule I have. Is there any known problem if I don't do it?
1170
Views
0
Likes
0
Answers
Re: Google gtag Issue thomas_amsler - Adobe Experience Platform Launch
I don't know gtag, so I can't help there, but maybe you can configure gtag so the object it relies on is called differently.One other, more complex solution would be to "mask" it by implementing all the array methods in your object and use them to operate on an internal array:dataLayer._gtagDataLayer = [];dataLayer.push = function(obj) { this._gtagDataLayer.push(obj);};dataLayer.pop = function() { return this._gtagDataLayer.pop();};//etc.But again, maybe the dataLayer object from gtag has other ...
1932
Views
0
Likes
0
Answers
Re: My DirectCall inserted a new code every time it is called thomas_amsler - Adobe Experience Platform Launch
I am also not sure I understand your problem properly, but one hint that might help: You can provide a payload to your direct call rules and you don't have to:update data layertrigger a direct callread data layerYou can just do:_sattelite.track('direct-call-id', {x: 'y, z: 1});And in your action you can read it with event.detail.x and event.detail.z
4281
Views
0
Likes
0
Replies
Re: Google gtag Issue thomas_amsler - Adobe Experience Platform Launch
push and splice are methods of the JavaScript Array object​. So if you have an object called dataLayer and the gtag expects the dataLayer to be an array, this error makes sense. a probably is just a reference to the same dataLayer object within a function. You probably have to rename your custom dataLayer object so it doesn't interfere with what gtag expects.
1819
Views
0
Likes
0
Answers
Re: Access to Create an Adaptor and Environments in Launch thomas_amsler - Adobe Experience Platform Launch
If you can create a property, you should be able to do all the rest. Keep in mind, you first need to actually create a property and then open it. The other functionalities are linked to a property.
973
Views
1
Like
0
Answers
Re: Contextual event data in custom code event thomas_amsler - Adobe Experience Platform Launch
How about using a direct call rule, there you can also pass data which then is available with event.detail
1154
Views
1
Like
0
Answers
Re: How to track the click button through Launch data element and pass attribute value to Adobe Analytics? thomas_amsler - Adobe Experience Platform Launch
Is this code snipped from a Data Element? There it won't work as they are processed a bit differently, but in the Custom Code of Set Variable "this" is available. If you want to use it in the Set Variable gui, event.element should also be available within the %% just like a Data ElementIf it is a link you also have access to the link object throgh: s.linkObject
2975
Views
0
Likes
0
Answers
Re: Best practices for Single-Page Apps thomas_amsler - Adobe Experience Platform Launch
Cool looks interesting, though a bit too late for me Also the Product String Builder. I'll have a look at it the next time I need to build product strings.I decided to use direct call rules for the whole website, when I found out you can provide a payload as Aaronius mentioned in March. With this I have enough control over the events and the data they should process. I also changed the normal page load from pageBottom to a direct call but with a check if there is an SPA container on the page and...
5434
Views
1
Like
0
Replies
Re: Adobe Launch error - not able to find the AppMeasurement file thomas_amsler - Adobe Experience Platform Launch
We host all the files on our CMS, so if we download the zip from launch and extract it to the CMS it resolves the paths correctly. With the ZIP option enabled it generates the launch script differently with relative paths to AppMeasurement.
1159
Views
0
Likes
0
Answers
Re: Adobe Launch error - not able to find the AppMeasurement file thomas_amsler - Adobe Experience Platform Launch
It seem you are trying this directly from the file system. The launch scripts tries to load the AppMeasurement and uses a protocol agnostic //assets.adobedtm.com/...When you open your file from the file system, it will have the file:// protocol and thus it won't find the AppMeasurement.The easiest way is to have the file you are testing on an actual web server like Apache or IIS.If you want to test it from the file system, I suggest to enable the download as archive option in the environment. Yo...
1057
Views
0
Likes
0
Answers
Re: Copying rules from One property to another thomas_amsler - Adobe Experience Platform Launch
This feature is not yet implemented in Launch. Not sure if copying between properties will be available in the first release of the copy feature bound to be released this year: Allow Launch Users to Copy Rules
981
Views
0
Likes
0
Answers
Re: debugging "alien" beacon being fired thomas_amsler - Adobe Experience Platform Launch
Do you by chance have any Page Bottom Rule in place? I had some similar issue where I didn't even have the _satellite.pageBottom() method in my code, but the rule got fired anyway.Is the second beacon also an s.t() or an s.tl(). if the later, you should see a "pe=lnk_o" and a "pev2" parameter whit which value you would have a bigger chance to see what rule was fired.
784
Views
0
Likes
0
Answers
Re: Update Analytics Extension warning with every library build thomas_amsler - Adobe Experience Platform Launch
It doesn't actually matter, where I make a change, but when I am inside Edit Library and click the Save and build button, I get the warning:Missing Required ExtensionsThe following extensions will be added because they are required by resources in this library.UPGRADED - Adobe Analytics (v1.4.1)And the button is called: Apply Updates and Continue
1178
Views
0
Likes
0
Answers
Update Analytics Extension warning with every library build thomas_amsler - Adobe Experience Platform Launch
Each time I make a small change in some rules, update my library and trigger a build for development I get the warning that the Analytics Extension needs an update and I need to confirm that I want to apply it. I did this now at least 5 times, shouldn't this be saved with the revision of the Analytics Extension?Why do I need to "apply" these changes every time I build the library?
3767
Views
0
Likes
6
Answers and Comments
Re: Bring Adobe Analytics variable information into the Launch Adobe Analytics extension interface thomas_amsler - Adobe Experience Platform Launch
Awesome idea, the same was implemented in the debugger extension for chrome, but there needs to be refreshed every time I use it and is still a bit annoying to use. But here it should be easy to integrate it, especially since you are already defining the Analytics Suite in the extension which could be used to gather this information.
9975
Views
0
Likes
0
Comments
Re: Problems with Launch in IE 8.1 thomas_amsler - Adobe Experience Platform Launch
If you look at the your console in the browser, you should see a warning as the last line in the generated launch script is:console.warn("Adobe Launch is unsupported in IE 9 and below.")Using an IE lower than 10 is a risk to yourself and any other using it, you should really upgrade or tell your customer it is unsafe to use ancient browsers these days.
806
Views
1
Like
0
Answers
Re: Load Rule for Adobe Analytics Product String Extension thomas_amsler - Adobe Experience Platform Launch
I am also just a user so not claiming my answers as best practice but just how I do it:1. I created my rules differently, e.g. having the Clear at then end. So do my stuff and cleanup afterwards approach. But having it at the beginnign is also somethign I considered. Now to the actual question:When or how are your rules triggered? There are multiple approaches I've seen so far. Again first what I have:One page-load rule which sends the s.t() beacon with a custom pageBottom() method, and many rul...
1912
Views
0
Likes
0
Answers
Re: Capture Anchor Text and Href in Launch Code thomas_amsler - Adobe Experience Platform Launch
Sorry, I am also running out of ideas what could go wrong on your side. I still assume that there is something either deleting the eVars and props before sendBeacon or that s.linkTrackVars does not contain what you expect it to contain.I think the only way to continue is actually debugging the JS. Load the unminified version of your launch library add a breakpoint in your setVariable action and step through it untiil the sendBeacon...
1794
Views
1
Like
0
Answers
Re: Capture Anchor Text and Href in Launch Code thomas_amsler - Adobe Experience Platform Launch
Can you check your doPlugins method as well? Maybe you accidently overwrite the s variables within this method. It will get executed just before sendBeacon(), so after your setVariables action.
1783
Views
0
Likes
0
Answers
Re: Capture Anchor Text and Href in Launch Code thomas_amsler - Adobe Experience Platform Launch
Could it be that you overwrite s.linkTrackVars and s.linkTrackEvents in your doPlugins method?I was also struggling with these two variables and added some helper method to concatenate the string:function concatenate(value, addition) { if (typeof value === 'string' && value !== '') { value += ',' + addition; } else { value = addition; } return value;}then I call it like this in my rule:s.linkTrackVars = concatenate(s.linkTrackVars, 'events,eVar11,prop11');s.linkTrackEvents = concatenate(s.linkTr...
1805
Views
0
Likes
0
Answers
Re: Can't Get Analytics Plugins Working thomas_amsler - Adobe Experience Platform Launch
You have to define your plugins before your doPlugins function and only call them within doPlugins. doPlugins will get executed after your rule so s.apl isn't defined yet.As you posted an image and not code I am not gonna retype everything but to get you an idea:s.apl=newFunction(...);s.split=new Function(...);s.usePlugins=true;s.doPlugins=function(s) {//...}
2305
Views
4
Likes
0
Answers
Re: Highlight when Custom Code exists in Analytics Set Variables thomas_amsler - Adobe Experience Platform Launch
I posted a similar idea here: Add an indicator if the "Set Variable" action contains custom code My idea was even one step higher in the rule overview, so you don't even have to open the action.
3581
Views
0
Likes
0
Comments
Re: Let us re-order or sort evars and props within rule configuration thomas_amsler - Adobe Experience Platform Launch
I mentioned this a few months back and it is already under review:Natural order of eVars, props and events
6029
Views
0
Likes
0
Comments
Re: Configure AppMeasurement library code in Adobe Analytics extension thomas_amsler - Adobe Experience Platform Launch
As far as I understood it, "Custom Code" section is the place to put your plugins. I also implemented it like this on our project.
1248
Views
2
Likes
0
Answers
Re: Reuse events, conditions, exceptions in rules thomas_amsler - Adobe Experience Platform Launch
I actually have a similar problem with referencing in another project I am working on. I also didn't find the perfect solution yet, else I could share it here. But I like stewarts ideas and add my two cents:Why only discuss about conditions?Events: I think events don't really need to be shared within a property but in our case, where we have two websites built on the same components within AEM and also have the same datalayer, it would make sense to have them on company level. But I can live wit...
14074
Views
0
Likes
0
Comments
Re: Trying to re-use data layer from GTM in DTM...HELP! thomas_amsler - Adobe Experience Platform Launch
If i interpret your code correctly, your dataLayer object is just an array, where you push events into?Then you would need to configure your dataLayer with a very simple JSON Schema in the Context Hub Extension. Something along the line of this:{ "$id": "MyDataLayer", "type": "array", "$schema": "http://json-schema.org/draft-06/schema#", "items": { "$id": "MyEvents", "title": "Empty Object", "description": "This accepts anything, as long as it's valid JSON." }}Though usually it has to be an obje...
1509
Views
2
Likes
0
Answers
Re: Why aren't my data elements populating with values? thomas_amsler - Adobe Experience Platform Launch
Could it be that it doesn't like spaces in the DataElements even if it is not prohibitting it?And the option stewarts16448458​ mentioned can indeed be found in the property configuration.
924
Views
1
Like
0
Answers