Analytics Implementation 101 and Adobe Cookies
I´m doing my first analytics implementation on a new website for the company. All the previous ones were done by a consulting company and each website differently.
I´ve done all the launch setup (extensions, rules, data elements) with the extensions and the script was inserted into the website.
However, by comparing it with some of our other websites, I realized that some of them have the AppMeasurement and activitymap js scripts. Reading the documentation it says if you do the setup by launch you don't need the appmeasurement scripts. so I got super confused about why the js are in the sites.
So here comes another question, in case I have to add the JS to the new site, where do I can the correct code? I realized that each code has an ID on it.. I believe this new site will need one also:
src="https://assets.adobedtm.com/extensions/xxxxxxxxxxxxxxxxxxx/AppMeasurement.min.js",
src="https://assets.adobedtm.com/extensions/EPxxxxxxxxxxxxxxxxx/AppMeasurement_Module_ActivityMap.min.js"
And this leaves me with my last question. when testing in development, all the cookies were fired without an issue and we were already getting data. we are using OneTrust for consent and block them.
However, in production, even if the consent is yes the Adobe cookies are not being fired. the Onetrust code is exactly the same (so is the website code), just the URL and server are not. We were wondering if the cause is because the URL is a subdomain from our main site, but this error never happened with our other sites which are also subdomains. That's when I started looking for the code differences and found the situation first described in this post. I don't know if there is a relationship with them.
I also already tried to go to adobe analytics extensions, and cookies and change the Domain Periods to 3 (another post from the community suggested that) but also didn't work.
Any idea of what can be causing the cookies not to fire? and should I have done something different in the implementation?
thanks in advance