Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.

Console Error

Avatar

Level 2

we are getting the below console error which is related to adobe analytics.

 

_satellite._runScript1 is not a function

 

we have used this function like

_satellite["_runScript1"](function(event, target, Promise) {

fbq('init','');
fbq('track', 'PageView');

gtag('event', 'conversion', {'send_to':  ' ' });

});

 

kindly help us to sort out this error.

2 Replies

Avatar

Community Advisor

You shouldn't be calling _satellite._runScript1 directly in your code. I believe that function had been created because you have a Custom Code action somewhere in your Rules.

Avatar

Community Advisor

I agree with this completely... you should just add your fbq and gtag code into a custom script section in your rules... Launch will create the _satellite._runScript and execute it based on the trigger rules for the event.