DTM connectivity to SiteCatalyst - analytics

I am trying to setup DTM to report to Adobe analytics. I have pasted the header/footer code on my page and I see in fiddler that the "page load" and field level tracking is triggering DTM scripts. But I am unable to see anything in my report suite on Site catalyst.
As per DTM documentation, I have altered the AppMeasurement.js to have the report suite ID
var s = new AppMeasurement();
s.account = "myreportsuiteidonsitecatalyst";
/*
============== DO NOT ALTER ANYTHING BELOW THIS LINE ! ===============
Am I missing anything? Please help.

There's most likely an error in your DTM code. You can use the Chrome extension here to troubleshoot your DTM configuration: http://help-forums.adobe.com/content/adobeforums/en/marketing-cloud-forum/adobe-marketing-cloud.topic.html/forum__lkzf-_dtm_switchdt.html.
In addition, there are fantastic videos here which walk you through the setup of DTM and the configuration of the Analytics tool within DTM: https://outv.omniture.com/ (under Dynamic Tag Management)

You also have to have the tracking server information set either in the code editor window or the UI.

This is the problem even I was facing too.
I have analyzed this problem and get something which is very helpful but not able how to rectify this problem.
As you know sitecatalyst set s_vi cookie in our browser which is persistent, with help of this cookie we came to know that reports are reflecting in sitecatalyst reports. But while using DTM s_vi is not getting set in browser and hences no reflection of reprts in sitecatalyst.
I run my pages in Chrome and found that no cookie is being set in that browser but while using IE s_fid is being created subsitute of s_vi when s_vi not able to create.
So something wrong is with this.
you can check your cookie like _satellite.readcookie('s_vi') or _satellite.readcookie('s_fid')

Related

Salesforce, Lightning Web Components - change code online

Is it possible to change code (html, js, css) in Lightning Web Components online in Salesforce?
Something like this
I don't know to run it according this manual.
Because I would like to check code imported from VSCode. It seems to me that the code/component is not updated.
there is a variety of chrome extensions available to view and edit the LWC code within the salesforce. I am using the following:
To view the code only you can make use of the Salesforce Assitant extension:
https://chrome.google.com/webstore/detail/salesforce-assistant/acpngnlieelljdlljmenkagbonaicccj
.
.
If you want to edit the code as well, then you can consider salesforce advance code searcher:
https://chrome.google.com/webstore/detail/salesforce-advanced-code/lnkgcmpjkkkeffambkllliefdpjdklmi
Currently, you can't "import code online".
To check if your code been deployed correctly you can use chrome devtools and see if your files been deployed and used.
There is a cache machanizam also which you can disable -will reduce performance
https://www.salesforcecodecrack.com/2019/09/disable-browser-cache-during-lightning.html
For more info regarding debugging LWC check out this article:
https://developer.salesforce.com/blogs/2019/02/debug-your-lightning-web-components.html

How to migrate an online angular script to local server?

Hi I'm trying to make an offline version of this page:
https://u-he.com/tools/microtuning/ the script is writtin with Angular JS how do I do that?
I saved the page control-s and copied the file to the local server I'm running.
And then I browsed the local ip. the page opened but I get repeated notes ng-repeat shows up as multiple boxes instead of 1 box that edits the same note but in different octaves.
How do I solve this problem please.
You can inspect the front-end code in your browser console. In Firefox it's in the section called "Debugger", in Chrome it's called "Sources". If you use Safari, you need to enable Developer mode first.
Once you have the appropriate view, just click on u-he.com -> tools/microtuning/ -> index
Hopefully it goes without saying that you shouldn't use large swaths of another person's code without at least giving appropriate credit, or better yet getting the developer's permission, unless there is an explicit open-source license.

How do I get my Selenium Grid Hub log

I have a selenium grid2 set up on an AWS instance, and I was wondering if there's a way I could view the logs on my local machine?
I understand I can visit: http://MyServerAddress/grid/console and view all of the nodes but I want the actual log.
Its a bit of a pain having to remote desktop to the server each time I want to view it.
I was thinking something like http://MyServerAddress/grid/log but alas, it doesnt seem to be an option.
There's nothing available out of the box. But you can build this on your own.
You would first need to enable logging for your Grid and have the logs dumped to a specific folder.
You would now need to build a custom Servlet and inject it into the servlet (See here for details on how to do it )
Assuming that your servlet is called "HubLogServlet", you should be able to access it via the link http://localhost:4444/grid/admin/HubLogServlet
You can refer to this LogServlet for a sample.

SharePoint 2013 external lists only work in page edit mode

I have a site page with 3 external lists which display data through BCS connecting to an Azure SQL database as a web part.
They all display their data correctly when the page is in edit mode, but when saved, it just continually loads each web part and doesn't seem to finish.
Has anyone experienced the same issue?
[Edit]: Loading the lists on their own when not inserted to a page will work fine.
I seem to have solved my own issue.
Setting the web part miscellaneous properties to "Server Render" has all web parts loading their external data as expected.
My own inexperience seems to be the issue here, but I'm sure people familiar with web parts would know this.
This answer may helps others in the same situation.

How do I make selenium see the network requests made by a web browser?

I have a dotnet Selenium web driver app.
When I'm testing the page one of the things I need to confirm is that a flash object on the page has pulled correct content from a content store on my site. (i.e. the flash object should be loading content from /stuff/info.txt and including that content within the animation.)
As a human looking at this I can use the chrome network tab and see that /stuff/info.txt has been accessed.
How can I make Selenium execute a similar watch and see the network requests made by a web browser?
I did not wrote this, neither tested it however someone did it here: http://www.softwareishard.com/blog/firebug/automate-page-load-performance-testing-with-firebug-and-selenium/
Basically all the requests are exported via netexport and firebug plugins inside a HAR (Http ARchive file)
Please give us your feedback if you give it a try!
Cheers !
I assume you want to automate the process which the developer tools of browsers does. Something like firebug but for verification using Code.
I don't believe Selenium has such features. For now, you will not be able to achieve this.

Resources