tim_funk
Community profile tim_funk Level 1
Job title here
Lancaster, PA USA
5 BADGES
Level 1

Level 1

Learn more
Joined the community 21-06-2017 11:13:54 AM
Offline
Top badges earned by tim_funk
Customize the badges you want to showcase on your profile
Re: Event rule based window message?
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
I don't think Custom Event will work. The event is fired onto the window object. And the custom event rule seems to be element focuses. But I do see "Custom Code" in which case I could add my window.addEventListener("message". function(){if(checkPasses) trigger()})

Views

79

Likes

0

Replies

0
Event rule based window message?
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
Is there an event configuration where my rule would trigger on the equivalent of window.addEventListener("message" ...) ? Then even more vexxing is can I then create rule conditions filtering on the values in event.origin and event.data? Based on what I see - I think the answer is no. Use case is I have an iframe using postMessage to let the parent window know something happened. I suspect I will need to create my own listener. Then let that listener do the appropriate filtering and validation a...

Views

114

Likes

0

Replies

2
Re: How to get eVar in a custom code JavaScript | Launch
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
There are a 2 issues. (one right now, one I bet you'll discover later) 1) eVar38 is on the "s" variable. When editing custom code - The variable with the analytics attributes is "s". [But if you look in the browser during debugging, the minifier may change the variable to probably by "t".] This means you want s.eVar38 ... or console.log("s.eVar38=" + s.eVar38) 2) The second error is setting s.eVar38 will do nothing unless Analytics knows to track it. You'll need to notify the analytics library t...

Views

143

Likes

0

Replies

0
Re: Adobe Launch success events counts will accumulate
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
If you remain on the page to allow subsequent events trigger, you need to clearVars after each beacon send otherwise each event will have all the variables included from before (or at least the ones not overridden) So adding the clear variables rule after the beacon fire is the way to go. If you have a lot of rules (and depending on your setup) - this can be annoying (it was for me). Luckily - There is a nuclear approach to fix this. Adobe analytics allows for a hook to fire after the beacon is ...

Views

118

Likes

0

Replies

1
Re: Cannot send beacon: TypeError: window.location.query...
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
I see the Storage duration is set to session - So I suspect the initial page view was missing that parameter so that value carried as empty the rest of the session. https://experienceleague.adobe.com/docs/launch/using/ui/data-elements.html?lang=en

Views

82

Likes

0

Replies

0
Re: Cannot send beacon: TypeError: window.location.query...
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
query is not an property on location. Based on the name, it seems like query means query-string is desired. In which case - that would be "location.search"

Views

108

Likes

0

Replies

0
Re: Is it possible track different events in two pages th...
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
The easiest way may be 2 rules where each rule has a condition based on "Path And Query String" (or something similar)

Views

97

Likes

0

Replies

1
Re: Rule Fire as late as possible upon the initial view o...
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
They (should) fire in this orderLibrary LoadedPage BottomDOM ReadyWindow Loaded Personally - I would use DOMReady. I would not trust window loaded. Window loaded fires AFTER all the images and other dependent assets are loaded. So if there is just one asset which is performing slowly - the event may never fire. (Which could yield analytics data loss)

Views

79

Like

1

Replies

0
Re: Unclosed ResourceResolver was created at LivefyreRigh...
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Manager
I'm still observing this behavior in publisher 6.5.8

Views

118

Likes

0

Replies

0
Search - Add rule name to results
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
Description -When searching - Include the Rule Name in the results. (Or have the rule name as a tool tip) Why is this feature important to you -It makes certain searches much more usable. For example: Search on prop32 gives you the screenshot below. The results are not helpful.How would you like the feature to work -When searching .. Display the Rule Name -> With the Rule Component to distinguish multiple results. Could be via a tooltip when mouse over to keep the same layout. Or prefix the Rule...

Views

87

Like

1

Replies

0
Re: Adobe analytics extension - clear variables on beacon fire
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
We originally tried that. Where we'd try the following pattern Set Variables custom for this event (typically 1 or 2 variables)Call direct rule which wouldset the rest of common evars and props (a dozen or more)send the beaconclear variablesOur problem was we were getting bugs where one or the other of the rules didn't have their variables set correctly. We also have many values set via javascript on various conditions. If felt like the javascript promises were firing out of order or some other ...

Views

289

Likes

0

Replies

0
Re: Adobe analytics extension - clear variables on beacon fire
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
I realize Clear Variables is there ... its a "code smell" that I need an addition action it every time I fire a beacon. When you have over 100 rules, that extra copy step is a bit tedious. (Which is why we added the listener so as to not worry about forgetting this action was done)

Views

302

Likes

0

Replies

0
Adobe analytics extension - clear variables on beacon fire
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
Description - Add a feature to the extension to allow a checkbox to request that variables are cleared after the beacon fires.Why is this feature important to you -Nice generic feature instead of custom code to add to the extensionHow would you like the feature to work - When the option is checked - add the following after the extension is loadeds.registerPostTrackCallback(function(){ s.clearVars();});Current Behaviourrequires custom code

Views

317

Like

1

Replies

5
Tracking unfired rules
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
During our DTM --> Launch conversion we discovered a handful of rules that no longer applied due to code changes or our content authors stopped using a component in favor of another. I'm not sure how I'd do this ... But I'd like to entertain the idea of tracking what rule names actually get fired (over time). Then in the future, we could track the rules reported as run (and quantity) and correlate that back to the rules in Launch. Any rule that was fired zero times then gets investigated as a de...

Views

107

Likes

0

Replies

1
Re: best practices for handling 3rd party pixel or custom...
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
An easy way to cheat is to add your custom code as a condition. Conditions are loaded with the main js file. You can also in your condition do something likewindow.setTimeout(function(){ /*really load*/}, 1000) which defers the execution of the code for another second.

Views

99

Likes

0

Replies

0
Re: Publishing to preview environment.
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Manager
One alternative is to change the trigger on publish2 (assuming that is the preview server) to be "On Modification". Then when any page or asset is changed - it is automatically replicated to the preview publisher with no additional effort by the author. But if you use this feature - You probably also want to check "No Version" as well as "No Status Update" as well. Otherwise - you may be deceived into believing items were activated to your production publisher while they actually were not.

Views

954

Likes

0

Replies

0
Any harm in missing namespaces?
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Manager
I'm working on building AEM from a clean install. (for an upgrade) I'm using crx2oak to copy the old repository to the new one. All has worked great so far until today when i wanted to build a package and ran into this "javax.jcr.NamespaceException: Unknown namespace prefix" exactly like this:https://experienceleaguecommunities.adobe.com/t5/Adobe-Experience-Manager/Error-while-build-the-package/qaq-p/316820 Which was nicely fixed by this:https://helpx.adobe.com/experience-manager/kb/javax-jcr-Na...

Views

1.3K

Likes

0

Replies

1
Re: Improve build/minification error reporting
Avatar
Boost 3
Level 1
tim_funk
Level 1

Likes

3 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Contributor
Applaud 5
Shape 1
Boost 1
View profile
tim_funk
- Adobe Experience Platform Data Collection
Please this a million times over!As the sunset announcement from DTM is becoming more pronounced - people (like me) will be more eager to click the convert to launch button.And I started with my simplest property and received a JS minification error and absolutely NO clue what converted rule was the issue. If the minification debug options are as bad as my last 48 hours - I will be dreading porting the rest of my properties. (And wasting a ton of my employer's time as well)

Views

9.8K

Likes

0

Replies

0