Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Adobe Analytics for a Chrome Extension?

agnieszkat73083
Level 1
Level 1

Hello,

Is it possible to implement Adobe Analytics tracking in a Chrome Extension using the standard JavaScript app measurement library?  If not, are there any alternatives?

Thank you.

Agnieszka

1 Accepted Solution
Rydal_Williams
Correct answer by
Level 4
Level 4

Ah I see, yes that is possible, my answer still stands. The chrome extension will inject the Adobe script and call s.*, however, keep in mind that if your chrome extension is going to run on sites that already have Adobe install - public chrome extension, you may want to ensure you implement a different S object so you don't overlap on an existing implementation. As a matter of fact, you should do that regardless to be on the safer side but everything else should work as normal.

View solution in original post

3 Replies
Rydal_Williams
Level 4
Level 4

Agnieszka,

What do you mean by implement in Chrome extension, do you mean building an extension that will make calls to Adobe - if so yes, you can build a chrome extension that will inject the main script if it doesn't exist and then make the calls to Adobe by calling s.* or using DTM/Launch.

Let me know if you meant something else.

agnieszkat73083
Level 1
Level 1

Yes, I mean a Chrome Extension with built-in Adobe Analytics calls to track how users interact with the extension.

Rydal_Williams
Correct answer by
Level 4
Level 4

Ah I see, yes that is possible, my answer still stands. The chrome extension will inject the Adobe script and call s.*, however, keep in mind that if your chrome extension is going to run on sites that already have Adobe install - public chrome extension, you may want to ensure you implement a different S object so you don't overlap on an existing implementation. As a matter of fact, you should do that regardless to be on the safer side but everything else should work as normal.

View solution in original post